-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: improve README #56
Conversation
Co-authored-by: Maria Grimaldi <[email protected]>
Co-authored-by: Maria Grimaldi <[email protected]>
726d6df
to
5c6f9a8
Compare
README.rst
Outdated
|
||
.. code-block:: bash | ||
|
||
tutor plugins enable codejail | ||
|
||
Then, you will have to install the "docker-edx-sandbox" apparmor profile on your host: | ||
Install the "docker-edx-sandbox" AppArmor profile on your host: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Install the "docker-edx-sandbox" AppArmor profile on your host: | |
Run the initialization jobs to install the required AppArmor profile on your host: |
The name of the profile changes depending on the python version used by the sandbox (e.g docker-edx-sandbox-3.8.6
).
Can we also add a note that the profile must be loaded again if the host is rebooted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented :)
README.rst
Outdated
CODEJAIL_EXTRA_PIP_REQUIREMENTS: | ||
- pybryt | ||
|
||
**NOTE:** For some configurations to work, the codejail image must be rebuilt. Command to rebuild codejail: ``tutor images build codejail``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we know which configurations merit a new build? Can we add them here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think most people don't build this image, so it should rather be framed as what would require a custom build:
- Additional requirements in the sandbox via
CODEJAIL_EXTRA_PIP_REQUIREMENTS
. - A different version of python for the sandbox environment via
CODEJAIL_SANDBOX_PYTHON_VERSION
. - Custom version of edx-platform that changes the contents of
requirements/edx-sandbox
.
One plugin that includes a section like this is tutor-ecommerce
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implemented :)
README.rst
Outdated
@@ -1,7 +1,8 @@ | |||
Codejail plugin for `Tutor`_ | |||
============================ | |||
|
|||
Tutor plugin that enables execution of untrusted code in secure sandboxes using an external `service`_ based on the `codejail`_ library. | |||
Tutor plugin that configures and runs Codejail using a REST API service. Codejail allows for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall I think is good to go, but if you have time can you include the link to the edunext/codejailservice repository?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
b3d44df
to
2d25f97
Compare
* docs: improve README (eduNEXT#56) * improve install instructions * include custom image section * enhance description --------- Co-authored-by: Maria Grimaldi <[email protected]> * feat: redwood support (eduNEXT#54) Add two new variables to enable the use of custom versions/forks of `edunext/codejailservice`. BREAKING CHANGE: the default Python version of the sandbox environment has been bumped to 3.11. This change alongside the upgrade of the SciPy and NumPy dependencies may cause some instructor code to fail. --------- Co-authored-by: Diana Olarte <[email protected]> Co-authored-by: Maria Grimaldi <[email protected]> Co-authored-by: Moisés González <[email protected]>
This PR has the goal of improving the plugin description throughout the README.
Also, I would like to change the repository description for the current introduction:
JIRA