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:
parent
86f2dbfa36
commit
020e9ad7dd
17
README.rst
17
README.rst
@ -11,22 +11,7 @@ Zun UI
|
|||||||
Manual Installation
|
Manual Installation
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
Install Horizon according to `Horizon documentation <https://docs.openstack.org/horizon/>`_.
|
Install according to `Zun UI documentation <https://docs.openstack.org/zun-ui/latest/install/index.html>`_.
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
Enabling in DevStack
|
Enabling in DevStack
|
||||||
--------------------
|
--------------------
|
||||||
|
@ -7,11 +7,17 @@ Manual Installation
|
|||||||
|
|
||||||
Install Horizon according to `Horizon documentation <https://docs.openstack.org/horizon/>`_.
|
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::
|
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 clone https://github.com/openstack/zun-ui
|
||||||
git checkout <branch which you want>
|
|
||||||
cd zun-ui
|
cd zun-ui
|
||||||
|
git checkout <branch which you want>
|
||||||
pip install .
|
pip install .
|
||||||
|
|
||||||
Enable Zun UI in your Horizon::
|
Enable Zun UI in your Horizon::
|
||||||
|
Loading…
Reference in New Issue
Block a user