Skip to content

Instantly share code, notes, and snippets.

@jcdyer
Last active July 7, 2016 21:09
Show Gist options
  • Save jcdyer/030c9a014c781a40f07d85cf6bb7b223 to your computer and use it in GitHub Desktop.
Save jcdyer/030c9a014c781a40f07d85cf6bb7b223 to your computer and use it in GitHub Desktop.
CodeJail django configurataion
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