Installation

Setup

Clone the chesslablab/chess-data repo into your projects folder. Then cd the chess-data directory and install the Composer dependencies:

composer install

Create an .env file:

cp .env.example .env

Update the environment variables in your .env file if necessary:

DB_DRIVER=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=chess
DB_USERNAME=root
DB_PASSWORD=

Finally, create the chess database:

php cli/db-create.php