Remove tourneyPath: doesn't make sense without tournament website
[vchess.git] / server / README.md
... / ...
CommitLineData
1# vchess-server
2
3Instructions to run the server locally.
4
5## Requirements
6
7- Node.js + npm (any recent version)
8- SQLite (version 3)
9
10## Installation
11
121. Execute db/\*.sql scripts to create and fill db/vchess.sqlite
13
14```
15cd server/db
16sqlite3 vchess.sqlite
17sqlite> .read create.sql
18sqlite> .read populate.sql
19sqlite> .exit
20```
21
222. Rename and edit `db/dbconnect.py.dist` into `db/dbconnect.py`.
23Then synchronize the GameStat table:
24
25```
26./sync_gamestat.py
27```
28
292. Rename and edit `config/parameters.js.dist` into `config/parameters.js`
30
313. Install npm modules
32
33```
34npm install
35```
36
37## Running
38
39```
40npm start
41```