Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pieter Koopman
Personal Prof public repository
Commits
a4c8572b
Commit
a4c8572b
authored
Dec 10, 2020
by
Markus Klinik
Browse files
README
parent
21c50a3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a4c8572b
...
@@ -145,10 +145,11 @@ $ ./personal-prof run <course-name> <folder-id> <target-directory> <ruleset-name
...
@@ -145,10 +145,11 @@ $ ./personal-prof run <course-name> <folder-id> <target-directory> <ruleset-name
11.
Keep the daemon running
11.
Keep the daemon running
It is recommended to run the daemon on a server, not your personal laptop. lilo
It is recommended to run the daemon on a server, not your personal laptop. All
works fine, but an AWS instance or something similar should also work (not
the above setup procedure needs to be repeated on the server. We always used
tested). To keep the daemon running when you are logged out, use
`screen`
. All
lilo, but an AWS instance or something similar should also work (not tested).
the above setup procedure needs to be repeated on lilo.
To keep the daemon running when you are logged out, use
`screen`
.
```
```
$ ssh <science-login>@lilo.science.ru.nl
$ ssh <science-login>@lilo.science.ru.nl
...
@@ -159,9 +160,8 @@ $ screen
...
@@ -159,9 +160,8 @@ $ screen
From inside screen, open a new tab per pp-bs-daemon instance you need. In each
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
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
the resit. That's because of the stupid Brightspace restriction that a group
only have group categories with at most 200 groups. One instance per group
category can only have 200 groups.
category.
screen quick-reference:
screen quick-reference:
...
@@ -171,6 +171,33 @@ screen quick-reference:
...
@@ -171,6 +171,33 @@ screen quick-reference:
-
`Ctrl-a d`
detach screen to backgrond. You can log out now.
-
`Ctrl-a d`
detach screen to backgrond. You can log out now.
-
`$ screen -r`
re-attach to a running screen
-
`$ 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
# Contributing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment