create docker files and updated configs #19
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From the associated
docker_local.README.md
:Mooclet Engine Local Development Setup
The
docker_local
setup is gives a way to quickly start up a mooclet-engine instance to greatly reduce the setup and startup time.Launching
docker_local.docker-compose.yml
will:mooclet
for immediate loginPrerequisites
Setup Instructions
1. Clone the Repository (if you haven't already)
git clone https://github.com/Intelligent-Adaptive-Interventions-Lab/mooclet-engine.git cd mooclet-engine
2. Environment Configuration
Copy
secure.py.example
Copy the example secure configuration (or modify your existing
secure.py
to include thedocker_local
settings):Edit
secure.py
to usedocker_local
as default for local database:Copy
docker_local.env.example
env FileThese values are used in various spots in the docker setup. No edit needed unless you would like different values.
3. Run it!
To stop the Containers, do:
4. Accessing the Application and get API token
mooclet
mooclet
Navigate to
Tokens
to create a token for your API calls.