Difference between revisions of "Horizon/MerlinEval"
< Horizon
Dan Nguyen (talk | contribs) m (→Steps) |
Dan Nguyen (talk | contribs) m (→Steps) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Merlin Horizon Integration == | == Merlin Horizon Integration == | ||
This page walks through the instructions of how to install Merlin into Horizon. | 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 === | === Steps === | ||
1. Create a workspace for horizon and merlin projects | 1. Create a workspace for horizon and merlin projects | ||
$ mkdir <workspace> | $ mkdir <workspace> | ||
| + | $ cd <workspace> | ||
$ git clone https://github.com/openstack/horizon.git | $ git clone https://github.com/openstack/horizon.git | ||
$ git clone https://github.com/stackforge/merlin.git | $ git clone https://github.com/stackforge/merlin.git | ||
2a. Update Horizons local_settings.py | 2a. Update Horizons local_settings.py | ||
| − | $ cd | + | $ cd horizon/openstack_dashboard/local/ |
$ cp local_settings.py.example local_settings.py | $ cp local_settings.py.example local_settings.py | ||
| Line 42: | Line 47: | ||
7. Start Horizon dev server | 7. Start Horizon dev server | ||
$ ./run_test.sh --runserver | $ ./run_test.sh --runserver | ||
| + | |||
| + | === Screen Shots === | ||
| + | [[File:Mistral1.png]] | ||
| + | |||
| + | [[File:Mistral2.png]] | ||
| + | |||
| + | [[File:Mistral3.png]] | ||
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


