Commit ce4cb8456ffca10499798530567b2b9afada33c2
Exists in
master
and in
1 other branch
Merge branch 'master' of https://bitbucket.org/mjsb/perguntations
Showing
1 changed file
with
7 additions
and
6 deletions
Show diff stats
README.md
| ... | ... | @@ -26,15 +26,18 @@ cd WHERE/TO/PUT/THE/SOFTWARE |
| 26 | 26 | git clone https://mjsb@bitbucket.org/mjsb/perguntations.git |
| 27 | 27 | cd perguntations |
| 28 | 28 | |
| 29 | -# create database in the directory db/ | |
| 29 | +# create database (if no csv file is provided, a database with 5 fake students is created for debugging) | |
| 30 | 30 | ./initdb_from_csv.py YOUR_CSV_FILE_HERE |
| 31 | -mkdir db | |
| 32 | -mv students.db db | |
| 31 | +mv students.db SOMEWHERE | |
| 33 | 32 | |
| 34 | 33 | # update test configuration with the correct database file. |
| 35 | 34 | vi demo/test.yaml |
| 36 | 35 | # Edit line 7 to something like |
| 37 | -# database: db/students.db | |
| 36 | +# database: SOMEWHERE/students.db | |
| 37 | + | |
| 38 | +# edit server configuration | |
| 39 | +vi config/server.conf | |
| 40 | +# Edit lines 26--27 to point to the desired log files location. | |
| 38 | 41 | |
| 39 | 42 | # get help |
| 40 | 43 | ./serve.py --help |
| ... | ... | @@ -48,8 +51,6 @@ vi demo/test.yaml |
| 48 | 51 | # ^C to terminate the server |
| 49 | 52 | ``` |
| 50 | 53 | |
| 51 | -(FIXME For the time being, also create `ans`, `questions`, `tests`, `scripts`, `sessions` in the same directory, until paths are fixed) | |
| 52 | - | |
| 53 | 54 | ### Contribute ### |
| 54 | 55 | |
| 55 | 56 | * Writing questions in yaml format | ... | ... |