This commit is contained in:
Jonathan Eads 2014-04-24 18:34:08 -07:00
Родитель 92a54f875a
Коммит bbedf98720
1 изменённых файлов: 18 добавлений и 0 удалений

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

@ -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.