Settings found in .env
file.
Specify a custom env file with python app.py --env .local.env
- Run with:
python app.py --mode manager
- Or as docker container (see below)
- Run with:
python app.py --mode worker
- Or as docker container (see below)
- Run with:
python app.py --mode submitter
- Or as docker container (see below)
Todo.
docker compose will build the images, create a persistant docker volume and run the container.
docker compose up --build
- Navigate to project root directory
docker build -t render_tool .
docker run --name render_tool -dp 5000:5000 render_tool
docker logs -f render_tool
# -f to follow logs, leave out to just print to console
pip install -r test-requirements.txt
pytest tests