This commit is contained in:
Lev 2021-11-23 17:15:57 +03:00
parent fdd12f6ec3
commit 2c4c978ca2
2 changed files with 4 additions and 6 deletions

View file

@ -9,15 +9,13 @@ SITE_NAME="test_erpnext.localhost"
echo ::group::Setup env
cp env-example .env
sed -i -e "s/FRAPPE_VERSION=edge/FRAPPE_VERSION=$FRAPPE_VERSION/g" .env
sed -i -e "s/ERPNEXT_VERSION=edge/ERPNEXT_VERSION=test/g" .env
sed -i -e "s/edge/test/g" .env
# shellcheck disable=SC2046
export $(cat .env)
cat .env
print_group Start services
FRAPPE_VERSION=$FRAPPE_VERSION ERPNEXT_VERSION="test" \
docker-compose \
docker-compose \
-p $project_name \
-f installation/docker-compose-common.yml \
-f installation/docker-compose-erpnext.yml \

View file

@ -15,8 +15,7 @@ export $(cat .env)
cat .env
print_group Start services
FRAPPE_VERSION="test" \
docker-compose \
docker-compose \
-p $project_name \
-f installation/docker-compose-common.yml \
-f installation/docker-compose-frappe.yml \
@ -32,4 +31,5 @@ docker run \
frappe/frappe-worker:test new
ping_site
docker-compose down
rm .env