https://github.com/ilyasmirnov03/flame-game
Web application to learn about the Olympic games in a fun way.
https://github.com/ilyasmirnov03/flame-game
laravel php webapp
Last synced: 4 days ago
JSON representation
Web application to learn about the Olympic games in a fun way.
- Host: GitHub
- URL: https://github.com/ilyasmirnov03/flame-game
- Owner: ilyasmirnov03
- Created: 2024-01-25T22:00:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-07T16:57:37.000Z (about 2 years ago)
- Last Synced: 2024-04-07T17:41:52.463Z (about 2 years ago)
- Topics: laravel, php, webapp
- Language: PHP
- Homepage: https://www.flame-game.ilyasmirnov.dev/
- Size: 5.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flame Game
Web application built on laravel sail with mysql and redis.
## Getting started
1. First, install the dependencies
```shell
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
```shell
./vendor/bin/sail up
```
4. Install npm dependencies
```shell
./vendor/bin/sail npm install
```
5. Migrate and populate the database
```shell
./vendor/bin/sail artisan migrate --seed
```
6. Finally, generate the app key in your env file
```shell
./vendor/bin/sail artisan key:generate
```
And you're good to go!
## Useful commands
To execute any command, prefix it with:
```shell
./vendor/bin/sail
```
See list of artisan commands:
```shell
./vendor/bin/sail list
```