- 0. Install git-fat https://github.com/jedbrown/git-fat
- 1. git fat init && git fat pull
- 2. Execute db/\*.sql scripts to create and fill db/vchess.sqlite
- 3. Rename and edit config/parameters.js.dist into parameters.js
- 4. npm i && npm start
+## Installation
+
+1. Execute db/\*.sql scripts to create and fill db/vchess.sqlite
+
+```
+cd server/db
+sqlite3 vchess.sqlite
+sqlite> .read create.sql
+sqlite> .read populate.sql
+sqlite> .exit
+```
+
+2. Rename and edit `db/dbconnect.py.dist` into `db/dbconnect.py`.
+Then synchronize the GameStat table:
+
+```
+./sync_gamestat.py
+```
+
+2. Rename and edit `config/parameters.js.dist` into `config/parameters.js`
+
+3. Install npm modules
+
+```
+npm install
+```
+
+## Running
+
+```
+npm start
+```