Compare commits
2 Commits
1ac6826099
...
f986e72982
Author | SHA1 | Date | |
---|---|---|---|
f986e72982 | |||
339fe5ce24 |
@ -1,9 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
chmod 777 cache
|
||||
|
||||
echo "Installing Composer packages..."
|
||||
composer create-project --dev
|
||||
if [ -f .env ]; then
|
||||
composer install
|
||||
else
|
||||
composer create-project
|
||||
fi
|
||||
|
||||
echo "Installing NPM packages..."
|
||||
(cd multi && npm install)
|
||||
@ -14,6 +20,8 @@ echo "Installing Yarn packages..."
|
||||
echo "Migrating DB..."
|
||||
./mapg db:migrate
|
||||
|
||||
set +e
|
||||
|
||||
/usr/sbin/php-fpm7.4 -F &
|
||||
/usr/sbin/nginx -g 'daemon off;' &
|
||||
/usr/bin/node --inspect=0.0.0.0:9229 multi &
|
||||
|
@ -1,8 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Migrating DB..."
|
||||
./mapg db:migrate
|
||||
|
||||
set +e
|
||||
|
||||
/usr/bin/crontab docker/scripts/cron && /usr/sbin/cron &
|
||||
/usr/sbin/php-fpm7.4 -F &
|
||||
/usr/sbin/nginx -g 'daemon off;' &
|
||||
|
Loading…
Reference in New Issue
Block a user