Commit 103f23615b3a2d623acaf6562c52134ca305246d

Authored by Miguel Barão
1 parent fe0d0751
Exists in master and in 1 other branch dev

README.md edited online with Bitbucket

Showing 1 changed file with 7 additions and 4 deletions   Show diff stats
@@ -26,15 +26,18 @@ cd WHERE/TO/PUT/THE/SOFTWARE @@ -26,15 +26,18 @@ cd WHERE/TO/PUT/THE/SOFTWARE
26 git clone https://mjsb@bitbucket.org/mjsb/perguntations.git 26 git clone https://mjsb@bitbucket.org/mjsb/perguntations.git
27 cd perguntations 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 ./initdb_from_csv.py YOUR_CSV_FILE_HERE 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 # update test configuration with the correct database file. 33 # update test configuration with the correct database file.
35 vi demo/test.yaml 34 vi demo/test.yaml
36 # Edit line 7 to something like 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 # get help 42 # get help
40 ./serve.py --help 43 ./serve.py --help