Attempt to resurrect qomet code - need some rewrite
[qomet.git] / setup / README
... / ...
CommitLineData
1## Prerequisites
2
3node (v.6.10+), npm, mongo (v3.4+)
4
5msmtp: for sending e-mails
6
7git-fat: for large binary objects
8
9## Local installation
10
11First of all:
12 npm i
13
14Copy the files config/\*.js.dist without .dist extension.
15Adjust their content to your liking (especially DB name and user & mail settings).
16
17Then start mongodb service, create a database and user corresponding to the parameters,
18and run the mongo script database.js in setup/ folder:
19 load("setup/database.js") [from mongo shell]
20
21All should be good now:
22 npm start
23
24Note the "student.csv.sample" file in this folder, to test features locally.