X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2FREADME.md;h=c75d01c501228a5273e9948a31b92aa237e94e8c;hp=ebcaf77162769e0183079e13edbe11de3cd50953;hb=48edc620de7c6bbe791d690168392f50f02c328e;hpb=1ad8802192781dde074aa4b9529bd65c405ccc6f diff --git a/server/README.md b/server/README.md index ebcaf771..c75d01c5 100644 --- a/server/README.md +++ b/server/README.md @@ -1,34 +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 `config/parameters.js.dist` into `config/parameters.js` - -3. Install npm modules - -``` -npm install -``` - -## Running - -``` -npm start -```