-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
This plugins defines a tutor.py file that allows you to override the default configuration of the service, this pattern is also used in other Tutor plugins (e.g. tutor-notes). Even though the tutor.py file is mounted in the container (local-docker-compose-services) it's not actually being used by the service. In order to make use of the file we would need to set the environment variable FLASK_APP_SETTINGS to use the tutor.py module in the container definition.
Additionally we would need to use a new patch similar to notes-settings that allows us to override the default settings of the service..
To Reproduce
Steps to reproduce the behavior:
- Manually edit the
tutor.pyfile and alter the default configuration (see description message) - Inside the container run
flask shell - Check the values by running
app.config['CODE_JAIL']in the shell. - None of the values were overriden.
Expected behavior
Is possible to modify the default values of the codejail service.
Reactions are currently unavailable
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed