Mercurial > kallithea
comparison docs/setup.rst @ 6898:a8b9f2d68e7d
make-config: allow configuration of any ini value
Custom values can now be specified like:
gearbox make-config my.ini host=8.8.8.8 '[handler_console]' formatter=color_formatter '[app:main]' i18n.lang=zu
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 14 Sep 2017 02:08:07 +0200 |
parents | 4d04ac08fff7 |
children | 6ef837acb0d2 |
comparison
equal
deleted
inserted
replaced
6897:bed1d9158eb4 | 6898:a8b9f2d68e7d |
---|---|
14 gearbox make-config my.ini | 14 gearbox make-config my.ini |
15 | 15 |
16 This will create the file ``my.ini`` in the current directory. This | 16 This will create the file ``my.ini`` in the current directory. This |
17 configuration file contains the various settings for Kallithea, e.g. | 17 configuration file contains the various settings for Kallithea, e.g. |
18 proxy port, email settings, usage of static files, cache, Celery | 18 proxy port, email settings, usage of static files, cache, Celery |
19 settings, and logging. | 19 settings, and logging. Extra settings can be specified like:: |
20 | |
21 gearbox make-config my.ini host=8.8.8.8 "[handler_console]" formatter=color_formatter | |
20 | 22 |
21 Next, you need to create the databases used by Kallithea. It is recommended to | 23 Next, you need to create the databases used by Kallithea. It is recommended to |
22 use PostgreSQL or SQLite (default). If you choose a database other than the | 24 use PostgreSQL or SQLite (default). If you choose a database other than the |
23 default, ensure you properly adjust the database URL in your ``my.ini`` | 25 default, ensure you properly adjust the database URL in your ``my.ini`` |
24 configuration file to use this other database. Kallithea currently supports | 26 configuration file to use this other database. Kallithea currently supports |