From 020e9ad7dd9a8ab0f3bb91034d5b8f9b34ecc09b Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Mon, 25 Nov 2019 11:44:03 +0000 Subject: [PATCH] Update installation docs * Add a note about python3 installation * Fix the order of install steps Change-Id: Ia5c1b3eae55196a3bc2cc38d90890985cd41ecea Related-Bug: #1829871 --- README.rst | 17 +---------------- doc/source/install/index.rst | 8 +++++++- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/README.rst b/README.rst index 397dbf3..8392954 100644 --- a/README.rst +++ b/README.rst @@ -11,22 +11,7 @@ Zun UI Manual Installation ------------------- -Install Horizon according to `Horizon documentation `_. - -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 - cd zun-ui - pip install . - -Enable Zun UI in your Horizon:: - - cp zun_ui/enabled/* /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 `_. Enabling in DevStack -------------------- diff --git a/doc/source/install/index.rst b/doc/source/install/index.rst index f45f024..f26bec9 100644 --- a/doc/source/install/index.rst +++ b/doc/source/install/index.rst @@ -7,11 +7,17 @@ Manual Installation Install Horizon according to `Horizon documentation `_. +.. 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 cd zun-ui + git checkout pip install . Enable Zun UI in your Horizon::