/website

Website intended to learn and play chess online.

Primary LanguageJavaScriptMIT LicenseMIT

Website

License: MIT Contributing

Website intended to learn and play chess online.

Install and Setup

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

Run the MPA on a Docker Container

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:

Development

Run the app on port 9443.

docker compose -f docker-compose.dev.yml up -d

Production

Run the app on port 443.

docker compose -f docker-compose.prod.yml up -d

License

The MIT License.

Contributions

See the contributing guidelines.

Happy learning and coding!