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