This commit is contained in:
Jonathan Eads 2014-04-24 18:49:09 -07:00
Родитель c979d1f19e
Коммит 3e46386d05
1 изменённых файлов: 3 добавлений и 4 удалений

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

@ -94,17 +94,16 @@ of a stunnel configuration file:
Serving the UI build from the distribution directory
----------------------------------------------------
To serve the UI from the ``treeherder-ui/dist`` directory, from the ``treeherder-ui`` directory run:
To serve the UI from the ``treeherder-ui/dist`` directory, in the ``treeherder-ui`` directory run:
.. code-block:: bash
(venv)vagrant@precise32:~/treeherder-ui$ 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
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.
The ``production.pp`` manifest sets the web application directory to the ``dist`` directory.