X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=server%2FREADME.md;fp=server%2FREADME.md;h=d896b014e1764ca43bf1ee81be7e09c2bdf2eff5;hp=f88844c46452eb3e4d9ba210c66eda63bd9e1f03;hb=f5f82ba68e1864065983e1acfd5ac2cb5cf4997c;hpb=7617c334b43d2f5fff40cbec72127ed30e5867c0 diff --git a/server/README.md b/server/README.md index f88844c4..d896b014 100644 --- a/server/README.md +++ b/server/README.md @@ -4,12 +4,12 @@ Instructions to run the server locally. ## Requirements - - Node.js + npm (any recent version) - - SQLite (version 3) +- Node.js + npm (any recent version) +- SQLite (version 3) ## Installation - 1. Execute db/\*.sql scripts to create and fill db/vchess.sqlite +1. Execute db/\*.sql scripts to create and fill db/vchess.sqlite ``` cd server/db @@ -19,15 +19,15 @@ sqlite> .read populate.sql sqlite> .exit ``` - 2. Rename and edit `config/parameters.js.dist` into `config/parameters.js` +2. Rename and edit `config/parameters.js.dist` into `config/parameters.js` - 3. Install npm modules - - ``` - npm install - ``` +3. Install npm modules - ## Running +``` +npm install +``` + +## Running ``` npm start