mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
update
This commit is contained in:
parent
fdd12f6ec3
commit
2c4c978ca2
2 changed files with 4 additions and 6 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue