X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2FREADME.md;h=c75d01c501228a5273e9948a31b92aa237e94e8c;hp=ed41ad9578b0eda4b84d6f8230d240a183000ec5;hb=48edc620de7c6bbe791d690168392f50f02c328e;hpb=aa6d9b33f70c9baccac98ab41c72d2bd787eac83 diff --git a/server/README.md b/server/README.md index ed41ad95..c75d01c5 100644 --- a/server/README.md +++ b/server/README.md @@ -1,41 +1,10 @@ # vchess-server -Instructions to run the server locally. +## Setup + +See main INSTALL\_INSTRUCTIONS file. ## Requirements - Node.js + npm (any recent version) - SQLite (version 3) - -## 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 -```