From 01cc56d25d04a2f5a7b0c1ff32cf11b16c06edd0 Mon Sep 17 00:00:00 2001 From: Dmitry Mescheryakov Date: Thu, 10 Apr 2014 20:11:04 +0400 Subject: [PATCH] Saharaclient must be installed for UI to work in dev environment Since in dev install guide we create a symlink to saharadashboard instead of installing it, its dependencies are not installed automatically. So we need to manually install saharaclient. Thanks to Yaroslav for finding that issue. Change-Id: I319ff3aaf6df86e473d4b0206f9769938074c6f8 --- doc/source/horizon/dev.environment.guide.rst | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/source/horizon/dev.environment.guide.rst b/doc/source/horizon/dev.environment.guide.rst index 2afdb3b2..c7ffa05a 100644 --- a/doc/source/horizon/dev.environment.guide.rst +++ b/doc/source/horizon/dev.environment.guide.rst @@ -123,7 +123,14 @@ using the following command: $ ln -s $SAHARA_DASHBOARD_HOME/saharadashboard .venv/lib/python2.7/site-packages/saharadashboard .. -8. Modify ``openstack_dashboard/settings.py`` +8. Install python-saharaclient into venv + + .. sourcecode:: console + + $ .venv/bin/pip install python-saharaclient + .. + +9. Modify ``openstack_dashboard/settings.py`` Add sahara to to the Horizon config: @@ -142,7 +149,7 @@ using the following command: .... .. -9. Start Horizon +10. Start Horizon .. sourcecode:: console @@ -163,7 +170,7 @@ using the following command: **Note** It is not recommended to use Horizon in this mode for production. -10. Applying changes +11. Applying changes If you have changed any ``*.py`` files in ``$SAHARA_DASHBOARD_HOME`` directory, Horizon will notice that and reload automatically. However changes made to