Update installation docs

* Add a note about python3 installation
* Fix the order of install steps

Change-Id: Ia5c1b3eae55196a3bc2cc38d90890985cd41ecea
Related-Bug: #1829871
This commit is contained in:
Hongbin Lu 2019-11-25 11:44:03 +00:00
parent 86f2dbfa36
commit 020e9ad7dd
2 changed files with 8 additions and 17 deletions

View File

@ -11,22 +11,7 @@ Zun UI
Manual Installation
-------------------
Install Horizon according to `Horizon documentation <https://docs.openstack.org/horizon/>`_.
Clone Zun UI from git repository, checkout branch same as Horizon and Zun, and install it::
git clone https://github.com/openstack/zun-ui
git checkout <branch which you want>
cd zun-ui
pip install .
Enable Zun UI in your Horizon::
cp zun_ui/enabled/* <path to your horizon>/openstack_dashboard/local/enabled/
Then restart your Horizon.
After restart your Horizon, reload dashboard forcely using [Ctrl + F5] or etc. in your browser.
Install according to `Zun UI documentation <https://docs.openstack.org/zun-ui/latest/install/index.html>`_.
Enabling in DevStack
--------------------

View File

@ -7,11 +7,17 @@ Manual Installation
Install Horizon according to `Horizon documentation <https://docs.openstack.org/horizon/>`_.
.. note::
If your Horizon was installed by python3, Zun UI needs to be installed by
python3 as well. For example, replace ``pip`` with ``pip3`` and replace
``python`` with ``python3`` for commands below.
Clone Zun UI from git repository, checkout branch same as Horizon and Zun, and install it::
git clone https://github.com/openstack/zun-ui
git checkout <branch which you want>
cd zun-ui
git checkout <branch which you want>
pip install .
Enable Zun UI in your Horizon::