PHP Classes


Recommend this page to a friend!
  Classes of Edward Paul   PHP Football Manager   Download  
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Football Manager
Application to manage football championships
Author: By
Last change:
Date: 2 years ago
Size: 843 bytes


Class file image Download
#!/usr/bin/env bash set -e [ -f ".env.testing" ] || $(echo Please make an .env.testing file and run: php artisan key:generate --env=testing; exit 1) export $(cat .env.testing | grep -v ^# | xargs); echo Starting services docker-compose up -d echo Host: until docker-compose exec -T mysql mysql -h -u $DB_USERNAME -p$DB_PASSWORD -D $DB_DATABASE --silent -e "show databases;" do echo "Waiting for database connection..." sleep 5 done echo Installing dependencies .scripts/ install echo Seeding database rm -f bootstrap/cache/*.php docker-compose exec -T app php artisan key:generate --env=testing && echo Key Generated Successfully docker-compose exec -T app php artisan migrate --env=testing && echo Database migrated docker-compose exec -T app php artisan db:seed --env=testing && echo Database seeded