Some changes were added to savanna-dashboard installation

Change-Id: I00deb477ff67e89ad80c6bba4d92f327737f9230
This commit is contained in:
Nadya Privalova 2013-06-18 16:36:31 +04:00
parent 8fe63141b4
commit 288990680e

View File

@ -1,7 +1,7 @@
Savanna Horizon Plugin dev environment setup
============================================
1. Install nodejs 0.10.10
1. **Install nodejs 0.10.10**
2. Checkout stable horizon from git git@github.com:openstack/horizon.git according to your version of OpenStack (stable/grizzly or stable/folsom) and install venv
@ -9,26 +9,39 @@ Savanna Horizon Plugin dev environment setup
python tools/install_venv.py
3. Edit file open openstack_dashboard/local/local_settings.py and uncomment strings:
3. Create local_settings.py file:
.. sourcecode:: bash
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
4. Open file openstack_dashboard/local/local_settings.py and uncomment strings:
.. sourcecode:: python
from horizon.utils import secret_key
SECRET_KEY = secret_key.generate_or_read_....
and set right value for variable
and set right value for variables:
.. sourcecode:: python
OPENSTACK_HOST
OPENSTACK_HOST = "your ip of controller"
SAVANNA_URL = "url for savanna (e.g. "http://localhost:8080/v1.0")"
4. Create a symlink to
5. Install savanna-dashboard module to horizon's venv:
.. sourcecode:: bash
.venv/bin/python $SAVANNA_DASHBOARD_HOME/setup.py install
6. Create a symlink to
.. sourcecode:: bash
ln -s $SAVANNA_DASHBOARD_HOME/savannadashboard .venv/lib/python2.7/site-packages/savannadashboard
5. In openstack_dashboard/settings.py add savanna to
7. In openstack_dashboard/settings.py add savanna to
.. sourcecode:: python
@ -43,7 +56,7 @@ and add savannadashboard to
'savannadashboard',
....
6. Start horizon
8. Start horizon
.. sourcecode:: bash