Harmonize APPLICATION_ROOT doc with other settings

This commit is contained in:
Jocelyn Delalande 2017-07-26 16:07:38 +02:00
parent df5f9d50c6
commit a483e18b25

View file

@ -90,6 +90,9 @@ properly.
| ADMIN_PASSWORD | | To generate the proper password HASH, use ``ihatemoney generate_password_hash`` | | ADMIN_PASSWORD | | To generate the proper password HASH, use ``ihatemoney generate_password_hash`` |
| | | and copy its output into the value of *ADMIN_PASSWORD*. | | | | and copy its output into the value of *ADMIN_PASSWORD*. |
+----------------------------+---------------------------+----------------------------------------------------------------------------------------+ +----------------------------+---------------------------+----------------------------------------------------------------------------------------+
| APPLICATION_ROOT | ``""`` | If empty, ihatemoney will be served at domain root (e.g: *http://domain.tld*), if set |
| | | to ``"foo"``, it will be served from a "folder" (e.g: *http://domain.tld/foo*) |
+----------------------------+---------------------------+----------------------------------------------------------------------------------------+
In a production environment In a production environment
--------------------------- ---------------------------
@ -105,9 +108,3 @@ the IHATEMONEY_SETTINGS_FILE_PATH environment variable.
e.g.:: e.g.::
$ export IHATEMONEY_SETTINGS_FILE_PATH="/path/to/your/conf/file.cfg" $ export IHATEMONEY_SETTINGS_FILE_PATH="/path/to/your/conf/file.cfg"
Note that you can also pass additional flask parameters with this file.
e.g. If you want to prefix your URLs to serve ihatemonney in the *folder*
of a domain, use the following: ::
APPLICATION_ROOT='/budget'