Horizon/MerlinEval

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 $ cd $ 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 /merlin/merlin/. $ ln -s /merlin/extensions/mistral.

5. Add Mistral Panel to Horizon $ cd /openstack_dashboard/enabled/_50_add_mistral_panel.py.

6. Sync the database $ cd /horizon/ $ source .venv/bin/activate $ python manage.py syncdb

7. Start Horizon dev server $ ./run_test.sh --runserver

Screen Shots