Skip to content

bdejean/hogwarts

 
 

Repository files navigation

Hogwarts

Simple Hogwarts' houses points hourglasses for Epitech's Pool

Install

  1. Give writes to web server in storage/logs
  2. Set up a MySQL database
  3. Copy .env.example to .env and fill the fields
  4. Run
composer install
php artisan migrate
php artisan db:seed
  1. Enjoy

Install with Docker

  1. Install docker
  2. Run ./start_docker.sh path, with path the location where the mysql database will be stored
  3. Wait about 30 second after the second container launch, the database may take some time to set up
  4. Enjoy

Don't forget to update the COPY if you add top level files/dirs to be installed in the image.

Create the database

ADMIN_EMAIL=benoit@localhost ADMIN_PASSWORD=secret ./start_docker.sh --db-dir ./db --db-name hogwarts.db --create-db

Start Docker instance

.//start_docker.sh --db-dir ./db --db-name hogwarts.db

About

Hogwarts' houses points hourglasses

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 69.1%
  • JavaScript 14.5%
  • CSS 10.6%
  • Shell 5.8%