mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 19:39:43 +00:00
Add description for running commands in Docker
This commit is contained in:
parent
fe1158dc61
commit
485f5192ea
1 changed files with 16 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue