Skip to content

Commit

Permalink
Merge pull request #72 from ellisonbg/workarounds
Browse files Browse the repository at this point in the history
Minor fixes to nbgrader.
  • Loading branch information
ellisonbg committed Jan 14, 2017
2 parents a34abde + 3fc88c1 commit 0d262f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/jupyterhub/templates/jupyterhub_config.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ c.JupyterHub.services = [
'name': 'formgrade-{{course.course_id}}',
'admin': True,
'url': 'http://127.0.0.1:{{course.port}}',
'user': '{{course.owner}}',
# 'user': '{{course.owner}}',
'cwd': '{{home_dir}}/{{course.owner}}/nbgrader/{{course.course_id}}',
'command': ['nbgrader', 'formgrade']
'command': ['nbgrader', 'formgrade']
},
{% endfor -%}
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions roles/nbgrader/templates/nbgrader_config.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ c = get_config()
c.NbGrader.course_id = '{{item.course_id}}'

c.FormgradeApp.authenticator_class = u'nbgrader.auth.hubauth.HubAuth'
c.FormgradeApp.ip = '127.0.0.1'
c.FormgradeApp.port = {{item.port}}
c.HubAuth.grader_group = u'formgrade-{{item.course_id}}'

0 comments on commit 0d262f6

Please sign in to comment.