projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add precision for Chakart rules
[vchess.git]
/
server
/
README.md
diff --git
a/server/README.md
b/server/README.md
index
f88844c
..
ebcaf77
100644
(file)
--- a/
server/README.md
+++ b/
server/README.md
@@
-4,30
+4,30
@@
Instructions to run the server locally.
## Requirements
## Requirements
-
- Node.js + npm (any recent version)
-
- SQLite (version 3)
+- Node.js + npm (any recent version)
+- SQLite (version 3)
## Installation
## 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
```
cd server/db
-sqlite3 vchess.sqlite
.db
+sqlite3 vchess.sqlite
sqlite> .read create.sql
sqlite> .read populate.sql
sqlite> .exit
```
sqlite> .read create.sql
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
```
npm start