
Now a running Horizon instance is required to run Mistral Workbook builder. Instructions on integrating Merlin and its extensions (the first of which is Workbook Builder) are provided in README.md. Change-Id: I599ac46c9fd5369e42722b8d7a01d60c9f3323b8
32 lines
1.5 KiB
Markdown
32 lines
1.5 KiB
Markdown
# Instructions on integrating Merlin extensions into Horizon
|
|
Although the repo contains directories meant to be used as Django apps
|
|
(with templates, static files, urls & views), the whole project is not
|
|
meant to be run as a standalone Django web-application (with its own
|
|
settings.py etc). Instead, it should be embedded into running Horizon
|
|
instance. To do so you should perform the following steps:
|
|
|
|
1. The easiest way to always use the latest version of Merlin is by using
|
|
symlinks. Identify the directory where ``openstack_dashboard`` and ``horizon``
|
|
reside. Let's assume this is ``/usr/lib/python2.7/site-packages`` and merlin
|
|
repo is located at ``/home/user/dev/merlin``. Then run the
|
|
following commands
|
|
```
|
|
# for main Merlin sources
|
|
ln -s /home/user/dev/merlin/merlin /usr/lib/python2.7/site-packages/merlin
|
|
# for files of the Merlin's Mistral extension
|
|
ln -s /home/user/dev/merlin/extensions/mistral /usr/lib/python2.7/site-packages/mistral
|
|
```
|
|
|
|
2. Next thing to do is add panel with Mistral Workbook builder (a Merlin
|
|
extension) into Horizon. To do it, copy the pluggable config for the Mistral
|
|
panel:
|
|
```
|
|
cp /home/user/dev/merlin/extensions/enabled/_50_add_mistral_panel.py /usr/lib/python2.7/site-packages/openstack_dashboard/enabled/
|
|
```
|
|
|
|
3. Restart Horizon web-server. According to the default values in
|
|
``_50_add_mistral_panel.py`` you would be able to **Mistral** panel inside
|
|
the **Project** dashboard, **Orchestration** panel group.
|
|
|
|
For more info please refer to https://wiki.openstack.org/wiki/Merlin
|