Difference between revisions of "Manila/docs/HOWTO use manila with horizon"
Vponomaryov (talk | contribs) (→Get custom horizon) |
Vponomaryov (talk | contribs) (→Be sure, all dependencies are installed) |
||
Line 18: | Line 18: | ||
run in horizon's dir | run in horizon's dir | ||
− | $ sudo python setup.py install | + | $ sudo python setup.py install |
Also, need to install python-manilaclient | Also, need to install python-manilaclient | ||
− | $ sudo pip install git+https://github.com/stackforge/python-manilaclient.git | + | $ sudo pip install git+https://github.com/stackforge/python-manilaclient.git |
==Run horizon== | ==Run horizon== |
Revision as of 16:03, 3 April 2014
Contents
How to run custom horizon with manila
Get custom horizon
$ git clone -b manila https://github.com/NetApp/horizon.git
$ cd horizon
$ cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
open file openstack_dashboard/local/local_settings.py
find var "OPENSTACK_HOST" and set here address of host where devstack was installed
save and exit
Be sure, all dependencies are installed
run in horizon's dir
$ sudo python setup.py install
Also, need to install python-manilaclient
$ sudo pip install git+https://github.com/stackforge/python-manilaclient.git
Run horizon
$ sudo python manage.py runserver
it will be available on 127.0.0.1:8000
to specify all interfaces, use:
$ sudo python manage.py runserver 0.0.0.0:8000
port can be set to any not used valid port value.