Horizon plugin for OpenStack Orchestration (Heat)
Go to file
Akihiro Motoki 53ab2c9c4c Correct django template pattern in babel-django.cfg
Currently strings in Django templates cannot be translated
because the current recommended file pattern "templates/**.html"
does not match Django templates in subdirectories.
This needs to be "**/templates/**.html".

Change-Id: I877e0a3703fa13b52e1df79f20c580b2604e7d1c
Closes-Bug: #1747453
2018-02-06 01:15:07 +09:00
devstack Fix file path typo in devstack/plugin.sh 2018-01-26 18:06:13 +09:00
doc Merge "Updated from global requirements" 2018-01-26 07:57:13 +00:00
heat_dashboard Imported Translations from Zanata 2018-02-01 06:42:32 +00:00
releasenotes Imported Translations from Zanata 2018-01-24 08:35:10 +00:00
tools Align tox_install.sh with other projects 2017-11-30 21:31:48 +09:00
.eslintignore Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
.eslintrc.js Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
.gitignore Create doc/requirements.txt 2017-12-29 15:02:52 +08:00
.gitreview Add initial files as devstack settings/documents/requirements. 2017-10-31 15:58:55 +09:00
.zuul.yaml Zuul: Remove project name 2018-01-27 23:19:57 -08:00
babel-django.cfg Correct django template pattern in babel-django.cfg 2018-02-06 01:15:07 +09:00
babel-djangojs.cfg add initial files. 2017-10-06 14:46:17 +09:00
CONTRIBUTING.rst add initial files. 2017-10-06 14:46:17 +09:00
HACKING.rst add initial files. 2017-10-06 14:46:17 +09:00
karma.conf.js Add unittests for template generator angular 2017-10-26 09:55:53 +09:00
LICENSE add initial files. 2017-10-06 14:46:17 +09:00
manage.py add initial files. 2017-10-06 14:46:17 +09:00
MANIFEST.in Ensure json files are provided in the package 2018-01-26 08:25:44 +00:00
package.json Clean up npm package dependencies 2017-11-07 01:33:50 +00:00
README.rst Change location of conf files in README 2018-01-26 09:13:32 +00:00
requirements.txt Updated from global requirements 2017-11-15 11:43:53 +00:00
setup.cfg Update the home page 2017-12-11 14:46:08 +08:00
setup.py Updated from global requirements 2017-11-15 11:43:53 +00:00
test-requirements.txt Create doc/requirements.txt 2017-12-29 15:02:52 +08:00
tox.ini Create doc/requirements.txt 2017-12-29 15:02:52 +08:00

Team and repository tags

image

Heat Dashboard

Horizon plugin for Heat

Use Heat Dashboard in DevStack

Set up your local.conf to enable heat-dashboard:

[[local|localrc]]
enable_plugin heat-dashboard https://git.openstack.org/openstack/heat-dashboard

Note

You also need to install Heat itself into DevStack to use Heat Dashboard.

Manual Installation

Clone both Horizon and Heat Dashboard repositories:

git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/heat-dashboard

Create a virtual environment and install Horizon relevant packages:

pip install -r horizon/requirements.txt

Create your local_settings.py file:

cp horizon/openstack_dashboard/local/local_settings.py.example \
  horizon/openstack_dashboard/local/local_settings.py

Open newly created local_settings.py with your text editor, and set some parameter to connect to your OpenStack environment:

  • Set OPENSTACK_HOST as hostname or IP address of your OpenStack server.
  • Verify that the OPENSTACK_KEYSTONE_URL and

    OPENSTACK_KEYSTONE_DEFAULT_ROLE settings are correct for your environment. (They should be correct unless you modified your OpenStack server to change them.)

Install Heat Dashboard with all relevant packages to your Horizon environment:

pip install -e ./heat-dashboard/

Enable heat-dashboard plugin in your Horizon environment:

cp heat-dashboard/heat_dashboard/enabled/* \
  horizon/openstack_dashboard/local/enabled

cp heat-dashboard/heat_dashboard/conf/* \
  horizon/openstack_dashboard/conf/

cp heat-dashboard/heat_dashboard/local_settings.d/* \
  horizon/openstack_dashboard/local/local_settings.d/

Finally you can launch Horizon with Heat Dashboard plugin:

cd horizon
python manage.py runserver 0.0.0.0:8080

Now you can connect to your Horizon including Heat Dashboard plugin from your browser with URL http://localhost:8080/.