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;'