X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2FREADME.md;h=c75d01c501228a5273e9948a31b92aa237e94e8c;hp=f88844c46452eb3e4d9ba210c66eda63bd9e1f03;hb=48edc620de7c6bbe791d690168392f50f02c328e;hpb=caf8591f130f73996e9682a3ef195b53286cf9d0 diff --git a/server/README.md b/server/README.md index f88844c4..c75d01c5 100644 --- a/server/README.md +++ b/server/README.md @@ -1,34 +1,10 @@ # vchess-server -Instructions to run the server locally. +## Setup -## Requirements - - - Node.js + npm (any recent version) - - SQLite (version 3) - -## Installation - - 1. Execute db/\*.sql scripts to create and fill db/vchess.sqlite +See main INSTALL\_INSTRUCTIONS file. -``` -cd server/db -sqlite3 vchess.sqlite.db -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 +## Requirements -``` -npm start -``` +- Node.js + npm (any recent version) +- SQLite (version 3)