This is a Laravel port of the original repository. It has been enhanced a little bit 😉
# Clone the project
git clone https://github.com/NicolasMica/games.git
cd games
# Copy and fill the config file
# Unix
cp .env.example .env
# Windows
copy .env.example .env
# Install PHP dependencies
composer install
# Generates app keys
php artisan key:generate
# Install NPM dependencies
npm install
# Run the server
php artisan serve
# Development build
npm run dev
# Watch/Hot reload
npm run watch / hot
# Production build
npm run production
Theses commands and config are required to properly set Laravel in production mode
# Set app in production (update .env)
APP_ENV=production
APP_DEBUG=false
APP_LOG_LEVEL=error
# Caches routes: only if not using route closure
php artisan route:cache
# Caches configurations: only if using config() in the app not env()
php artisan config:cache