зеркало из https://github.com/mozilla/treeherder.git
updated docs
This commit is contained in:
Родитель
92a54f875a
Коммит
bbedf98720
|
@ -91,3 +91,21 @@ of a stunnel configuration file:
|
|||
connect = 80
|
||||
|
||||
.. _stunnel: https://www.stunnel.org
|
||||
|
||||
Serving the UI build from the distribution directory
|
||||
----------------------------------------------------
|
||||
* To serve the UI from the ``treeherder-ui/dist`` directory, from the ``treeherder-ui`` directory run:
|
||||
|
||||
.. code-block:: bash
|
||||
> grunt build
|
||||
|
||||
|
||||
This will build the UI by concatenating and minifying the js and css and move all required assets to a directory called ``dist`` in the repository root of ``treeherder-ui``.
|
||||
|
||||
* In ``treeherder-service/Vagrantfile`` uncomment this line:
|
||||
|
||||
.. code-block:: ruby
|
||||
|
||||
puppet.manifest_file = "production.pp"
|
||||
|
||||
this puppet manifest sets the web application directory to the ``dist`` directory.
|
||||
|
|
Загрузка…
Ссылка в новой задаче