mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
Harmonize APPLICATION_ROOT
doc with other settings
This commit is contained in:
parent
df5f9d50c6
commit
a483e18b25
1 changed files with 3 additions and 6 deletions
|
@ -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'
|
|
||||||
|
|
Loading…
Reference in a new issue