mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
Fix doc settings table
On the long term, plaintext tables might destroy humanity.
This commit is contained in:
parent
27fc0dcb92
commit
bf42a05534
1 changed files with 32 additions and 30 deletions
|
@ -121,36 +121,38 @@ properly.
|
|||
Defaults given here, are those for development mode. To know defaults on your
|
||||
deployed instance, simply look at your *ihatemoney.cfg*.
|
||||
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------+
|
||||
| Setting name | Default | What does it do? |
|
||||
+===============================+=================================+==================================================================================+
|
||||
| SQLALCHEMY_DATABASE_URI | ``sqlite:///tmp/ihatemoney.db`` | Specifies the type of backend to use and its location. More information |
|
||||
| | | on the format used can be found on `the SQLAlchemy documentation |
|
||||
| | | <http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls>`_. |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| SECRET_KEY | ``tralala`` | The secret key used to encrypt the cookies. `ihatemoney conf-example ihatemoney.cfg` |
|
||||
| | | sets it to something random, which is good. |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| MAIL_DEFAULT_SENDER | ``("Budget manager", | A python tuple describing the name and email adress to use when sending |
|
||||
| | "budget@notmyidea.org")`` | emails. |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| ACTIVATE_DEMO_PROJECT | ``True`` | If set to `True`, a demo project will be available on the frontpage. |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| | | Hashed password to access protected endpoints. If left empty, all administrative |
|
||||
| ADMIN_PASSWORD | ``""`` | tasks are disabled. |
|
||||
| | | To generate the proper password HASH, use ``ihatemoney generate_password_hash`` |
|
||||
| | | and copy the output into the value of *ADMIN_PASSWORD*. |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| ALLOW_PUBLIC_PROJECT_CREATION | ``True`` | If set to `True`, everyone can create a project without entering the admin password |
|
||||
| | | If set to `False`, the password needs to be entered (and as such, defined in the |
|
||||
| | | settings). |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| ACTIVATE_ADMIN_DASHBOARD | ``False`` | If set to `True`, the dashboard will become accessible entering the admin password |
|
||||
| | | If set to `True`, a non empty ADMIN_PASSWORD needs to be set |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
| 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*) |
|
||||
+-------------------------------+---------------------------+----------------------------------------------------------------------------------------+
|
||||
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| Setting name | Default | What does it do? |
|
||||
+===============================+=================================+========================================================================================+
|
||||
| SQLALCHEMY_DATABASE_URI | ``sqlite:///tmp/ihatemoney.db`` | Specifies the type of backend to use and its location. More information on the |
|
||||
| | | format used can be found on `the SQLAlchemy documentation`_. |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| SECRET_KEY | ``tralala`` | The secret key used to encrypt the cookies. `ihatemoney conf-example ihatemoney.cfg` |
|
||||
| | | sets it to something random, which is good. |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| MAIL_DEFAULT_SENDER | ``("Budget manager", | A python tuple describing the name and email adress to use when sending |
|
||||
| | "budget@notmyidea.org")`` | emails. |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| ACTIVATE_DEMO_PROJECT | ``True`` | If set to `True`, a demo project will be available on the frontpage. |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| | | Hashed password to access protected endpoints. If left empty, all administrative |
|
||||
| ADMIN_PASSWORD | ``""`` | tasks are disabled. |
|
||||
| | | To generate the proper password HASH, use ``ihatemoney generate_password_hash`` |
|
||||
| | | and copy the output into the value of *ADMIN_PASSWORD*. |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| ALLOW_PUBLIC_PROJECT_CREATION | ``True`` | If set to `True`, everyone can create a project without entering the admin password |
|
||||
| | | If set to `False`, the password needs to be entered (and as such, defined in the |
|
||||
| | | settings). |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| ACTIVATE_ADMIN_DASHBOARD | ``False`` | If set to `True`, the dashboard will become accessible entering the admin password |
|
||||
| | | If set to `True`, a non empty ADMIN_PASSWORD needs to be set |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
| 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*) |
|
||||
+-------------------------------+---------------------------------+----------------------------------------------------------------------------------------+
|
||||
|
||||
.. _the SQLAlchemy documentation: http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
|
||||
|
||||
Using an alternate settings path
|
||||
--------------------------------
|
||||
|
|
Loading…
Reference in a new issue