Merge "Update the installation and contributors documents"

This commit is contained in:
Zuul 2018-01-18 08:32:18 +00:00 committed by Gerrit Code Review
commit 39d4f059f6
2 changed files with 27 additions and 2 deletions

View File

@ -12,6 +12,6 @@ submitted for review via the Gerrit tool:
Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub:
Bugs should be filed on Storyboard, not GitHub or Launchpad:
https://bugs.launchpad.net/octavia
https://storyboard.openstack.org/#!/project/909

View File

@ -10,3 +10,28 @@ 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