Skip to content

Web application to learn about the Olympic games in a fun way.

Notifications You must be signed in to change notification settings

ilyasmirnov03/flame-game

Repository files navigation

Flame Game

Web application built on laravel sail with mysql and redis.

Getting started

  1. First, install the dependencies

    docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php83-composer:latest \
    composer install --ignore-platform-reqs
  2. Create and copy .env.example file to a .env file

  3. Boot up the project

    ./vendor/bin/sail up
  4. Install npm dependencies

    ./vendor/bin/sail npm install
  5. Migrate and populate the database

    ./vendor/bin/sail artisan migrate --seed
  6. Finally, generate the app key in your env file

    ./vendor/bin/sail artisan key:generate

And you're good to go!

Useful commands

To execute any command, prefix it with:

./vendor/bin/sail

See list of artisan commands:

./vendor/bin/sail list