Last active
July 7, 2016 21:09
-
-
Save jcdyer/030c9a014c781a40f07d85cf6bb7b223 to your computer and use it in GitHub Desktop.
CodeJail django configurataion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import codejail.languages | |
CODE_JAIL = { | |
'jails': [ | |
{ | |
'command': 'python', | |
'bin_path': '/edx/app/edxapp/venvs/edxapp-sandbox/bin/python', | |
'user': 'sandbox', | |
'lang': codejail.languages.python2, | |
}, | |
{ | |
'command': 'jail3', | |
'bin_path': '/edx/app/edxapp/venvs/edxapp-sandbox3/bin/python3', | |
'user': 'sandbox', | |
'lang': codejail.languages.python3, | |
}, | |
], | |
'limits': { | |
'CPU': 1, | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment