Difference between revisions of "Horizon/MerlinEval"
< Horizon
Dan Nguyen (talk | contribs) m (→Steps) |
Dan Nguyen (talk | contribs) m (→Steps) |
||
Line 14: | Line 14: | ||
2a. Update Horizons local_settings.py | 2a. Update Horizons local_settings.py | ||
− | $ cd horizon/openstack_dashboard/local | + | $ cd horizon/openstack_dashboard/local/ |
$ cp local_settings.py.example local_settings.py | $ cp local_settings.py.example local_settings.py | ||
Latest revision as of 23:38, 8 June 2015
Merlin Horizon Integration
This page walks through the instructions of how to install Merlin into Horizon.
Useful Links
https://wiki.openstack.org/wiki/Merlin https://github.com/stackforge/merlin
Steps
1. Create a workspace for horizon and merlin projects
$ mkdir <workspace> $ cd <workspace> $ git clone https://github.com/openstack/horizon.git $ git clone https://github.com/stackforge/merlin.git
2a. Update Horizons local_settings.py
$ cd horizon/openstack_dashboard/local/ $ cp local_settings.py.example local_settings.py
2b. Add sqlite database
$ vi local_settings.py ... DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'horizon.sqlite3' } } ...
3. Create Horizon's .venv
$ cd horizon/ $ ./run_test.sh
4. Create symlinks to from Merlin to Horizon
$ cd .venv/lib/python2.7/site-packages/ $ ln -s <workspace>/merlin/merlin/ . $ ln -s <workspace>/merlin/extensions/mistral .
5. Add Mistral Panel to Horizon
$ cd <workspace>/openstack_dashboard/enabled/_50_add_mistral_panel.py .
6. Sync the database
$ cd <workspace>/horizon/ $ source .venv/bin/activate $ python manage.py syncdb
7. Start Horizon dev server
$ ./run_test.sh --runserver