зеркало из https://github.com/mozilla/treeherder.git
add ui integration to Vagrantifile and docs
This commit is contained in:
Родитель
25a15c791b
Коммит
278e5b02af
|
@ -22,4 +22,5 @@ Vagrant::Config.run do |config|
|
|||
# Try to use NFS only on platforms other than Windows
|
||||
nfs = !Kernel.is_windows?
|
||||
config.vm.share_folder("treeherder", "/home/vagrant/treeherder-service", "./", :nfs => nfs)
|
||||
#config.vm.share_folder("treeherder-ui", "/home/vagrant/treeherder-ui", "../treeherder-ui/", :nfs => nfs)
|
||||
end
|
||||
|
|
|
@ -14,6 +14,7 @@ Contents:
|
|||
installation
|
||||
dataload
|
||||
deployment
|
||||
ui_integration
|
||||
|
||||
|
||||
Indices and tables
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
Integrating the ui
|
||||
==================
|
||||
|
||||
If you want to develop both the ui and the service side by side it may be convenient to load the ui in the vagrant environment.
|
||||
To do so, uncomment this line in the Vagrantfile
|
||||
|
||||
.. code-block:: ruby
|
||||
|
||||
#config.vm.share_folder("treeherder-ui", "/home/vagrant/treeherder-ui", "../treeherder-ui/", :nfs => nfs)
|
||||
|
||||
Make sure treeherder-ui is cloned in the same folder as treeherder-service (same parent folder) and reload you vagrant environment with
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
>vagrant reload
|
||||
|
||||
You should now be able to access the ui on http://local.treeherder.mozilla.org/ui/
|
Загрузка…
Ссылка в новой задаче