From 0667b61abf6135a993b498251684a42f25e52b98 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Sun, 8 Jul 2018 11:11:47 -0400 Subject: [PATCH] Combine and consolidate --- .dev/entrypoint.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.dev/entrypoint.sh b/.dev/entrypoint.sh index eeb416ce0..9cfcd0d53 100644 --- a/.dev/entrypoint.sh +++ b/.dev/entrypoint.sh @@ -15,11 +15,8 @@ done #sed -i s/DB_USERNAME=pterodactyl/DB_USERNAME=$DB_USERNAME/g /app/.env #sed -i s/DB_PASSWORD=/DB_PASSWORD=$DB_PASSWORD/g /app/.env -#echo "1" #chown -R www-data:www-data . -#echo "2" chmod -R 777 storage/* bootstrap/cache /var/run/php /app/.env -echo "3" if [ "$(cat .env)" == "" ]; then cat /app/.env.example > /app/.env @@ -30,9 +27,6 @@ if [ "$(cat .env | grep APP_KEY)" == "APP_KEY=" ]; then php artisan key:generate --force fi -echo "4" -php artisan migrate --force -echo "5" -php artisan db:seed --force +php artisan migrate --seed --force echo "Done" nginx -g 'pid /tmp/nginx.pid; daemon off;'