diff --git a/docs/installing.rst b/docs/installing.rst index 31fa9f9..16453de 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -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