Bug 1312839 - Properly document pulse data ingestion config

The previous docs incorrectly said to use a settings_local.py file.
The correct way to define the Pulse URL is via an environment
variable.
This commit is contained in:
Gregory Szorc 2016-10-25 12:14:25 -07:00 коммит произвёл Gregory Szorc
Родитель b83ab0eb46
Коммит fb7a630f3d
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -28,10 +28,10 @@ Vagrant, or in your ``config/settings_local.py`` file. For example::
To be able to ingest from exchanges, you need to create a Pulse user with
`Pulse Guardian`_, so
Treeherder can create your Queues for listening to the Pulse exchanges. For
this, you must specify the connection URL in your environment variables or
``settings_local.py``. For example::
this, you must specify the connection URL in the ``PULSE_DATA_INGESTION_CONFIG``
environment variable. e.g.::
PULSE_DATA_INGESTION_CONFIG = "amqp://mypulseuserid:mypassword@pulse.mozilla.org:5671/?ssl=1"
export PULSE_DATA_INGESTION_CONFIG="amqp://mypulseuserid:mypassword@pulse.mozilla.org:5671/?ssl=1"
Ingesting Data
--------------