How to install OpenStack Murano Dashboard
This article is about how to install OpenStack Murano Dashboard. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
# # prerequisites
The murano service has been installed
Openstack dashboard has been installed
System: ubuntu14.04
# # installation
Download Dashboard
$cd ~ / murano $git clone git://git.openstack.org/openstack/murano-dashboard
Switch to the stable/kilo branch
Cd murano-dashboard git checkout-t origin/stable/kilo
Installation dependency
Pip install-r requirements.txt
Install Murano Dashboard into the system
Python setup.py install
Enable Murano Dashboard in Openstack Dashboard
Copy the template:
Cp muranodashboard/local/_50_murano.py / usr/share/openstack-dashboard/openstack_dashboard/local/enabled/
Comment out the lines of ADD_JS_FILES:
# vim / usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_50_murano.py from muranodashboard import exceptions # The name of the dashboard to be added to HORIZON ['dashboards']. Required. DASHBOARD = 'murano' # If set to True, this dashboard will not be added to the settings. DISABLED = False ADD_INSTALLED_APPS = ['muranodashboard',] ADD_EXCEPTIONS = {' recoverable': exceptions.RECOVERABLE, 'not_found': exceptions.NOT_FOUND,' unauthorized': exceptions.UNAUTHORIZED,} # ADD_JS_FILES = [# 'muranodashboard/js/murano.service.js' #]
Link static directory
Ps: modify / opt/murano/murano-dashboard/muranodashboard/static/muranodashboard/ to your own path
Ln-s / opt/murano/murano-dashboard/muranodashboard/static/muranodashboard/ / usr/share/openstack-dashboard/openstack_dashboard/static/muranodashboard
Add the following to local_setttings.py
# vim / etc/openstack-dashboard/local_settings.py MURANO_API_URL = 'http://localhost:8082'
Restart OpenStack Dashboard
Thank you for reading! This is the end of the article on "how to install OpenStack Murano Dashboard". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!