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,7 +25,6 @@ log.screen = False | ||
| 25 | # add path to the log files here. empty strings disable logging | 25 | # add path to the log files here. empty strings disable logging |
| 26 | log.error_file = '/Users/mjsb/Work/Projects/perguntations/logs/errors.log' | 26 | log.error_file = '/Users/mjsb/Work/Projects/perguntations/logs/errors.log' |
| 27 | log.access_file = '' | 27 | log.access_file = '' |
| 28 | -; log.access_file = '/Users/mjsb/Library/Logs/Perguntations/access.log' | ||
| 29 | 28 | ||
| 30 | # DO NOT DISABLE SESSIONS! | 29 | # DO NOT DISABLE SESSIONS! |
| 31 | tools.sessions.on = True | 30 | tools.sessions.on = True |
demo/test.yaml
| @@ -8,7 +8,6 @@ database: db/students.db | @@ -8,7 +8,6 @@ database: db/students.db | ||
| 8 | 8 | ||
| 9 | # this will generate a file for each test done. The file is like a replacement | 9 | # this will generate a file for each test done. The file is like a replacement |
| 10 | # for a test done in paper. | 10 | # for a test done in paper. |
| 11 | -save_answers: False | ||
| 12 | answers_dir: ans/demo | 11 | answers_dir: ans/demo |
| 13 | 12 | ||
| 14 | show_points: True | 13 | show_points: True |
| @@ -20,13 +19,13 @@ practice: True | @@ -20,13 +19,13 @@ practice: True | ||
| 20 | # Base path applied to the questions files and all the scripts | 19 | # Base path applied to the questions files and all the scripts |
| 21 | # including question generators and correctors. | 20 | # including question generators and correctors. |
| 22 | # Either absolute path or relative to current directory. | 21 | # Either absolute path or relative to current directory. |
| 23 | -path: demo | 22 | +questions_dir: demo |
| 24 | # (Note: answers are saved in a different path defined in answers_dir) | 23 | # (Note: answers are saved in a different path defined in answers_dir) |
| 25 | 24 | ||
| 26 | #----------------------------------------------------------------------------- | 25 | #----------------------------------------------------------------------------- |
| 27 | # List of files containing questions in yaml format. | 26 | # List of files containing questions in yaml format. |
| 28 | # Selected questions will be obtained from these files. | 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 | files: | 29 | files: |
| 31 | - questions.yaml | 30 | - questions.yaml |
| 32 | 31 |