Simple Hogwarts' houses points hourglasses for Epitech's Pool
- Give writes to web server in storage/logs
- Set up a MySQL database
- Copy .env.example to .env and fill the fields
- Run
composer install
php artisan migrate
php artisan db:seed
- Enjoy
- Install docker
- Run
./start_docker.sh path, withpaththe location where the mysql database will be stored - Wait about 30 second after the second container launch, the database may take some time to set up
- Enjoy
Don't forget to update the COPY if you add top level files/dirs to be installed in the image.
ADMIN_EMAIL=benoit@localhost ADMIN_PASSWORD=secret ./start_docker.sh --db-dir ./db --db-name hogwarts.db --create-db
.//start_docker.sh --db-dir ./db --db-name hogwarts.db