Barbican plugin for Horizon
Go to file
Andreas Jaeger c603b4613a Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Add docs building job so that this can merge.

Change-Id: I7f4ca3a53f5f6266e525d9430d79c0bcee359477
2020-06-02 10:54:40 +02:00
barbican_ui Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-02 10:54:40 +02:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-02 10:54:40 +02:00
.eslintrc Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
.gitignore Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
.gitreview Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
.zuul.yaml Switch to newer openstackdocstheme and reno versions 2020-06-02 10:54:40 +02:00
CONTRIBUTING.rst Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
HACKING.rst Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
LICENSE Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
MANIFEST.in Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
README.rst Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
babel-django.cfg Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
babel-djangojs.cfg Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
manage.py Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
package.json Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
requirements.txt Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
setup.cfg Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
setup.py Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
test-requirements.txt Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
test-shim.js Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00
tox.ini Initial UI-Cookiecutter Commit. 2019-09-24 07:38:01 -05:00

README.rst

Barbican UI

Barbican User Interface

Features

  • TODO

Enabling in DevStack

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

[[local|localrc]]
enable_plugin barbican_ui https://github.com/openstack/barbican-ui

Manual Installation

Begin by cloning the Horizon and Barbican UI repositories:

git clone https://github.com/openstack/horizon
git clone https://github.com/openstack/barbican-ui

Create a virtual environment and install Horizon dependencies:

cd horizon
python tools/install_venv.py

Set up your local_settings.py file:

cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py

Open up the copied local_settings.py file in your preferred text editor. You will want to customize several settings:

  • OPENSTACK_HOST should be configured with the hostname of your OpenStack server. Verify that the OPENSTACK_KEYSTONE_URL and OPENSTACK_KEYSTONE_DEFAULT_ROLE settings are correct for your environment. (They should be correct unless you modified your OpenStack server to change them.)

Install Barbican UI with all dependencies in your virtual environment:

tools/with_venv.sh pip install -e ../barbican-ui/

And enable it in Horizon:

ln -s ../barbican-ui/barbican_ui/enabled/_90_project_barbican_panelgroup.py openstack_dashboard/local/enabled
ln -s ../barbican-ui/barbican_ui/enabled/_91_project_barbican_secrets_panel.py openstack_dashboard/local/enabled

To run horizon with the newly enabled Barbican UI plugin run:

./run_tests.sh --runserver 0.0.0.0:8080

to have the application start on port 8080 and the horizon dashboard will be available in your browser at http://localhost:8080/