From b5a5929838d6525ec79efca5aa50e38ceaf98027 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 15 Jan 2018 11:06:37 -0800 Subject: [PATCH] Update the installation and contributors documents 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 --- CONTRIBUTING.rst | 4 ++-- doc/source/installation.rst | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) 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