This commit is contained in:
Mauro Doglio 2014-04-19 00:23:38 +01:00
Родитель 79fecd48be
Коммит 2eee2613a7
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -4,7 +4,8 @@ Deployment
The easiest way to deploy all the treeherder services on a server is to let puppet do it.
Once puppet is installed on your machine, clone the treeherder repo on the target machine and create a puppet
manifest like this inside the puppet directory:
.. code-block:: ruby
.. code-block:: ruby
import "classes/*.pp"
@ -67,7 +68,8 @@ As you can see it's very similar to the file used to startup the vagrant environ
You can run this file with the following command
.. code-block:: bash
(venv)vagrant@precise32:~/treeherder-service$ sudo puppet apply puppet/your_manifest_file.pp
(venv)vagrant@precise32:~/treeherder-service$ sudo puppet apply puppet/your_manifest_file.pp
Once puppet has finished, the only thing left to do is to start all the treeherder services (gunicorn, socketio, celery, etc).
The easiest way to do it is via supervisord.