Skip to content

Website intended to learn and play chess online.

License

Notifications You must be signed in to change notification settings

iamgauravbisht/website

 
 

Repository files navigation

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

Clear the cache:

php bin/console cache:clear

Download the assets:

php bin/console importmap:install

Compile the assets:

php bin/console asset-map:compile

Set up file permissions for the var/cache folder:

sudo chmod 775 -R var/cache
sudo chown $USER:www-data -R var/cache

Set up file permissions for the var/log folder:

sudo chmod 775 -R var/cache
sudo chown $USER:www-data -R var/log

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

We encourage you to contribute to the ChesslaBlab website! Please follow the Contributing Guidelines.

Made with contrib.rocks.

About

Website intended to learn and play chess online.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.5%
  • Twig 38.7%
  • PHP 9.0%
  • CSS 1.7%
  • Dockerfile 0.1%