Commit a4c8572b authored by Markus Klinik's avatar Markus Klinik
Browse files

README

parent 21c50a3f
......@@ -145,10 +145,11 @@ $ ./personal-prof run <course-name> <folder-id> <target-directory> <ruleset-name
11. Keep the daemon running
It is recommended to run the daemon on a server, not your personal laptop. lilo
works fine, but an AWS instance or something similar should also work (not
tested). To keep the daemon running when you are logged out, use `screen`. All
the above setup procedure needs to be repeated on lilo.
It is recommended to run the daemon on a server, not your personal laptop. All
the above setup procedure needs to be repeated on the server. We always used
lilo, but an AWS instance or something similar should also work (not tested).
To keep the daemon running when you are logged out, use `screen`.
```
$ ssh <science-login>@lilo.science.ru.nl
......@@ -159,9 +160,8 @@ $ screen
From inside screen, open a new tab per pp-bs-daemon instance you need. In each
week we typically need four instances. Two for the current assignment, two for
the resit. That's because of the stupid Brightspace restriction that you can
only have group categories with at most 200 groups. One instance per group
category.
the resit. That's because of the stupid Brightspace restriction that a group
category can only have 200 groups.
screen quick-reference:
......@@ -171,6 +171,33 @@ screen quick-reference:
- `Ctrl-a d` detach screen to backgrond. You can log out now.
- `$ screen -r` re-attach to a running screen
This is an example session for how to set up pp-bs-daemon for assignment 03
groups A and B, and resit 01 groups A and B.
```
$ ssh <science-login>@lilo.science.ru.nl
$ cd path/to/personal-prof/brightspace-integration
$ export PYTHONPATH=`readlink -f brightspace-grading-tool/grading-tool-python`
$ screen
$ ./pp-bs-daemon list-folders oo1920
33813 Assignment 01 A
33814 Assignment 01 B
33913 Assignment 02 A
33914 Assignment 02 B
34013 Assignment 03 A
34014 Assignment 03 B
34015 Resit 01 A
34016 Resit 01 B
$ ./pp-bs-daemon oo1920 34013 ./pp-work/assignment03a geometric
Ctrl-A c # open new screen tab
$ ./pp-bs-daemon oo1920 34014 ./pp-work/assignment03b geometric
Ctrl-A c # open new screen tab
$ ./pp-bs-daemon oo1920 34015 ./pp-work/resit01a student
Ctrl-A c # open new screen tab
$ ./pp-bs-daemon oo1920 34016 ./pp-work/resit01b student
Ctrl-A d # detach screen
```
# Contributing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment