Added init script

This commit is contained in:
Kevin Frantz 2018-09-06 23:14:47 +02:00
parent 989de39459
commit 7bb5e407bb
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,7 @@
cp .env.dist docker-symfony/.env
(cd $(dirname $(readlink -f ${0}))/../docker-symfony/ && docker-compose build && docker-compose up -d)
bash $(dirname $(readlink -f ${0}))/schema-update.sh
(
cd $(dirname $(readlink -f ${0}))/../;
cp -v .env.dist docker-symfony/.env;
cd docker-symfony;
docker-compose build;
docker-compose up -d;
)

6
administration/init.sh Normal file
View File

@ -0,0 +1,6 @@
(
cd $(dirname $(readlink -f ${0}));
bash ./submodule_sync.sh
bash ./build.sh
bash ./schema-update.sh
)