1
0
Fork 0
mirror of https://github.com/shouptech/humulus.git synced 2026-02-03 15:59:43 +00:00

Add description for running commands in Docker

This commit is contained in:
Emma 2019-08-06 13:41:26 -06:00
parent fe1158dc61
commit 485f5192ea

View file

@ -57,7 +57,7 @@ recipes.
Configuration
-------------
When launching Humulus, you must point an environment variables,
When launching Humulus, you must point an environment variable,
``HUMULUS_SETTINGS``, to a python file containing configuration variables.
The following variables must be defined:
@ -147,3 +147,18 @@ GitHub and then writes the data to the Couch database.
flask import-styles
.. _`styleguide.xml`: https://github.com/meanphil/bjcp-guidelines-2015/blob/master/styleguide.xml
Commands in Docker
^^^^^^^^^^^^^^^^^^
If you're running Humulus using `Docker`_ (the recommended way), you can
execute the commands inside the docker container:
::
sudo docker exec -it \
-e HUMULUS_SETTINGS=/app/settings.py -e FLASK_APP=humulus humulus \
flask build-couch
sudo docker exec -it \
-e HUMULUS_SETTINGS=/app/settings.py -e FLASK_APP=humulus humulus \
flask import-styles