diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 06bf1dd6..d0b98a01 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -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 diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 7ca8b0b4..270a853e 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -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