mraash / t9-course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run the project locally

You only need docker for this.

Setup:

  1. Clone this repository.
  2. Install composer packages by running docker run --rm -it -v "$(pwd):/app" composer/composer install command.
  3. Make copy of .env.example file and name it as .env.
  4. Make copy of .env.example file and name it as .env.testing. In this file delete all DB_ variables and replace them with DB_CONNECTION=sqlite
  5. Run migrations by running docker-compose run web php artisan migrate command.
  6. Fill database by running docker-compose run web php artisan db:seed command.
  7. Create empty database/database.sqlite file.

Run project:

  1. Run command docker-compose up.

After running the project, you can find it at http://localhost:5000.

Additional commands you can find in the Makefile file.

About


Languages

Language:JavaScript 55.4%Language:CSS 22.2%Language:PHP 19.1%Language:Blade 3.1%Language:Shell 0.2%Language:Makefile 0.1%Language:Dockerfile 0.0%