distil/doc/source/configuration/configuring.rst
Feilong Wang 251904a219 Add doc for Distil
Change-Id: Iaa76ddb67ae44b6e641e8083925ea1a281031b32
2017-07-31 16:48:30 +12:00

1.1 KiB

Basic Configuration

The distil.conf configuration file is an INI file format.

This file is located in /etc/distil. If there is a file distil.conf in ~/.distil directory, it is used instead of the one in /etc/distil directory. When you manually install the Rating service, you must generate the distil.conf file using the config samples generator located inside distil installation directory and customize it according to your preferences.

To generate the sample configuration file distil/etc/distil.conf.sample:

# pip install tox
$ cd distil
$ tox -e genconfig

Where {distil} is your Rating service installation directory.

Then copy Rating service configuration sample to the directory /etc/distil:

# cp etc/distil.conf.sample /etc/distil/distil.conf

For a list of configuration options, see the tables in this guide.

Important

Do not specify quotes around configuration options.