Website intended to learn and play chess online.
Clone the chesslablab/website
repo into your projects folder. Then cd
the website
directory and install the Composer dependencies:
composer install
Set up the browser environment variables:
cp assets/env.example.js assets/env.js
Download the assets:
php bin/console importmap:install
Compile the assets:
php bin/console asset-map:compile
First things first, make sure to have created the fullchain.pem
and privkey.pem
files into the docker/nginx/ssl
folder. Then run the MPA:
Run the app on port 9443
.
docker compose -f docker-compose.dev.yml up -d
Run the app on port 443
.
docker compose -f docker-compose.prod.yml up -d
The MIT License.
See the contributing guidelines.
Happy learning and coding!