Compare commits
No commits in common. "f986e729828259a685e35c40f3704dccf51d94ac" and "1ac6826099ac865a03a3a3ff123c2b271b7d1332" have entirely different histories.
f986e72982
...
1ac6826099
@ -1,15 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
chmod 777 cache
|
||||
|
||||
echo "Installing Composer packages..."
|
||||
if [ -f .env ]; then
|
||||
composer install
|
||||
else
|
||||
composer create-project
|
||||
fi
|
||||
composer create-project --dev
|
||||
|
||||
echo "Installing NPM packages..."
|
||||
(cd multi && npm install)
|
||||
@ -20,8 +14,6 @@ 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,12 +1,8 @@
|
||||
#!/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