Merge branch 'master' of github.com:yagu0/vchess
[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
12 1. Execute db/\*.sql scripts to create and fill db/vchess.sqlite
13
14```
15cd server/db
16sqlite3 vchess.sqlite.db
17sqlite> .read create.sql
18sqlite> .read populate.sql
19sqlite> .exit
20```
21
22 2. Rename and edit `config/parameters.js.dist` into `config/parameters.js`
23
24 3. Install npm modules
25
26 ```
27 npm install
28 ```
29
30 ## Running
31
32```
33npm start
34```