A multi-page app (MPA) using server-side rendering (SSR) to learn and play chess online. A single-page app (SPA) is embedded as an iframe.
Create an .env
file.
cp .env.example .env
Install the Composer packages.
composer install
Using PHP's built-in webserver.
php -S localhost:8080 -t public
Using Docker:
docker compose -f docker-compose.prod.yml up -d
Make sure that nginx has write permissions to the public/assets/img
as well as to the public/assets/video
folder.
sudo chown $USER:www-data public/assets/img
sudo chown $USER:www-data public/assets/video
See the contributing guidelines.
Happy learning and coding!