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
76f62eb0a1
commit
b36ddf0c47
1 changed files with 12 additions and 7 deletions
|
|
@ -7,6 +7,16 @@ source tests/functions.sh
|
|||
project_name="test_frappe"
|
||||
SITE_NAME="test_frappe.localhost"
|
||||
|
||||
docker_compose_with_args() {
|
||||
# shellcheck disable=SC2068
|
||||
docker-compose \
|
||||
-p $project_name \
|
||||
-f installation/docker-compose-common.yml \
|
||||
-f installation/docker-compose-frappe.yml \
|
||||
-f installation/frappe-publish.yml \
|
||||
$@
|
||||
}
|
||||
|
||||
echo ::group::Setup env
|
||||
cp env-example .env
|
||||
sed -i -e "s/edge/test/g" .env
|
||||
|
|
@ -15,12 +25,7 @@ export $(cat .env)
|
|||
cat .env
|
||||
|
||||
print_group Start services
|
||||
docker-compose \
|
||||
-p $project_name \
|
||||
-f installation/docker-compose-common.yml \
|
||||
-f installation/docker-compose-frappe.yml \
|
||||
-f installation/frappe-publish.yml \
|
||||
up -d
|
||||
docker_compose_with_args up -d
|
||||
|
||||
print_group Create site
|
||||
docker run \
|
||||
|
|
@ -31,5 +36,5 @@ docker run \
|
|||
frappe/frappe-worker:test new
|
||||
|
||||
ping_site
|
||||
docker-compose down
|
||||
docker_compose_with_args down
|
||||
rm .env
|
||||
|
|
|
|||
Loading…
Reference in a new issue