зеркало из https://github.com/mozilla/treeherder.git
Update deployment.rst
This commit is contained in:
Родитель
79fecd48be
Коммит
2eee2613a7
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче