b5a5929838
Updates the installation documentation page to include all of the steps required and updated the contributor.rst to have the correct bugs link to storyboard. Change-Id: Ie2dbb61487c1090e153dde3eccc1e27b2de5323c
38 lines
1.0 KiB
ReStructuredText
38 lines
1.0 KiB
ReStructuredText
============
|
|
Installation
|
|
============
|
|
|
|
At the command line::
|
|
|
|
$ pip install octavia-dashboard
|
|
|
|
Or, if you have virtualenvwrapper installed::
|
|
|
|
$ mkvirtualenv octavia-dashboard
|
|
$ pip install octavia-dashboard
|
|
|
|
To enable the panels in Horizon, copy _1482_project_load_balancer_panel.py in
|
|
octavia_dashboard/enabled directory to openstack_dashboard/local/enabled
|
|
|
|
(Optional) To enable policy enforcement at the Horizon level, copy the policy
|
|
file into horizon's policy files folder, and add this config ``POLICY_FILES``::
|
|
|
|
'octavia': 'octavia_policy.json',
|
|
|
|
Django has a compressor feature that performs many enhancements for the
|
|
delivery of static files. If the compressor feature is enabled in your
|
|
environment (``COMPRESS_OFFLINE = True``), run the following commands::
|
|
|
|
$ ./manage.py collectstatic
|
|
$ ./manage.py compress
|
|
|
|
Finally restart your web server to enable octavia-dashboard in your Horizon:
|
|
|
|
Ubuntu::
|
|
|
|
$ sudo service apache2 restart
|
|
|
|
Red Hat based::
|
|
|
|
$ sudo systemctl restart httpd
|