RETIRED, Congress Horizon plugin.
Go to file
manchandavishal e298ddce8a Fix pyScss version in lower-constraints.txt
Horizon requires  pyScss>=1.3.7 [1] but lower-constraints.txt
in congress-dashboard uses pyScss 1.3.4 which can cause the
failure in future. So this patch update pyScss version in
lower-constraints.txt to sync the change.

[1] https://review.opendev.org/#/c/715241/

Change-Id: If3c2ee5dd4293c8884e6c4084e8ec5c08c170bf9
2020-04-01 18:22:20 +00:00
congress_dashboard Remove six usage 2020-01-11 15:48:19 +00:00
doc tox: Keeping going with docs 2019-12-19 00:31:01 +00:00
releasenotes [ussuri][goal] Drop python 2.7 support and testing 2019-12-18 23:43:25 +00:00
tools pep8 to install only required packages 2017-05-08 12:47:22 +05:30
.gitignore Add Apple OS X ".DS_Store" to ".gitignore" file 2018-08-18 16:09:27 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:42:46 +00:00
.zuul.yaml [ussuri][goal] Drop python 2.7 support and testing 2019-12-18 23:43:25 +00:00
CONTRIBUTING.rst Fix the old links in docs 2018-04-02 04:16:29 +00:00
HACKING.rst fix error url 2018-02-02 12:32:59 +08:00
LICENSE Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
MANIFEST.in Minor changes related to docs 2017-07-14 19:35:35 +00:00
README.rst Changes for url transition to OpenDev 2019-04-22 06:40:36 +00:00
lower-constraints.txt Fix pyScss version in lower-constraints.txt 2020-04-01 18:22:20 +00:00
manage.py Initial UI-cookiecutter commit 2017-03-14 09:20:55 +00:00
requirements.txt Drop Django 1.11 support 2020-02-05 14:21:35 +00:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2019-12-18 23:43:25 +00:00
setup.py Updated from global requirements 2018-01-27 17:32:41 +00:00
test-requirements.txt Drop Django 1.11 support 2020-02-05 14:21:35 +00:00
tox.ini Drop Django 1.11 support 2020-02-05 14:21:35 +00:00

README.rst

Congress Dashboard

Horizon Plugin for Congress

Congress Dashboard is an extension for OpenStack Dashboard that provides a UI for Congress. With congress-dashboard, a user is able to easily write the policies and rules for governance of cloud.

Enabling in DevStack

Add this repo as an external repository into your local.conf file:

[[local|localrc]]
enable_plugin congress https://github.com/openstack/congress

Manual Installation

The following below instructions assumes that Horizon is already installed and its installation folder is <horizon>. Detailed information on how to install Horizon can be found at https://docs.openstack.org/horizon/latest/contributor/quickstart.html#setup.

The installation folder of Congress Dashboard will be referred to as <congress-dashboard>.

Clone Congress-Dashboard

$ git clone https://github.com/openstack/congress-dashboard.git
$ cd congress-dashboard

Install requirements

$ sudo pip install .

Install Source code

$ sudo python setup.py install

And enable it in Horizon

$ ln -s <congress-dashboard>/congress_dashboard/enabled/_50_policy.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_60_policies.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_70_datasources.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_75_monitoring.py <horizon>/openstack_dashboard/local/enabled
$ ln -s <congress-dashboard>/congress_dashboard/enabled/_80_library.py <horizon>/openstack_dashboard/local/enabled

Restart Apache server

$ sudo service apache2 restart