Commit dc71e34262ac9bc3478b076e64b56958f7ee4396
1 parent
fe0d0751
Exists in
master
and in
1 other branch
- updated demo test and config/server.conf
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
config/server.conf
... | ... | @@ -25,7 +25,6 @@ log.screen = False |
25 | 25 | # add path to the log files here. empty strings disable logging |
26 | 26 | log.error_file = '/Users/mjsb/Work/Projects/perguntations/logs/errors.log' |
27 | 27 | log.access_file = '' |
28 | -; log.access_file = '/Users/mjsb/Library/Logs/Perguntations/access.log' | |
29 | 28 | |
30 | 29 | # DO NOT DISABLE SESSIONS! |
31 | 30 | tools.sessions.on = True | ... | ... |
demo/test.yaml
... | ... | @@ -8,7 +8,6 @@ database: db/students.db |
8 | 8 | |
9 | 9 | # this will generate a file for each test done. The file is like a replacement |
10 | 10 | # for a test done in paper. |
11 | -save_answers: False | |
12 | 11 | answers_dir: ans/demo |
13 | 12 | |
14 | 13 | show_points: True |
... | ... | @@ -20,13 +19,13 @@ practice: True |
20 | 19 | # Base path applied to the questions files and all the scripts |
21 | 20 | # including question generators and correctors. |
22 | 21 | # Either absolute path or relative to current directory. |
23 | -path: demo | |
22 | +questions_dir: demo | |
24 | 23 | # (Note: answers are saved in a different path defined in answers_dir) |
25 | 24 | |
26 | 25 | #----------------------------------------------------------------------------- |
27 | 26 | # List of files containing questions in yaml format. |
28 | 27 | # Selected questions will be obtained from these files. |
29 | -# (search in absolute path or current working directory) | |
28 | +# If no files are provided, all files in questions_dir are loaded. | |
30 | 29 | files: |
31 | 30 | - questions.yaml |
32 | 31 | ... | ... |