Portal site for the Escape to Andromeda browser game.
- PHP 8.1+
- Intl PHP extension
- MySQL/MariaDB
- Composer 2.x
- NodeJS 16.x
Run:
composer install
npm install
npm run dev
Copy config/app.dist.php
to config/app.php
and configure the database connection parameters.
Run:
./vendor/bin/phpstan analyse
Run:
./vendor/bin/php-cs-fixer fix
Build and start application:
cp config/app.docker.php config/app.php
docker-compose build
docker-compose up -d
docker-compose run --rm -w /app php composer install
Terminate application:
docker-compose down