OpenStack Dashboard (Horizon)
Go to file
Matt Riedemann 322a74c13c Inherit environment variables for tests that use nodeenv
Tox 2.0 stopped automatically passing environment variables into the
virtual environment which potentially breaks test jobs which use nodeenv
because of the nature of running nodeenv within a virtual environment.

The nodeenv documentation (https://pypi.python.org/pypi/nodeenv) even
says:

"
If you already have the python virtualenv tool, and want to use nodeenv
and virtualenv in conjunction, then you should create (or activate) the
python virtual environment:

$ mkvirtualenv my_env

$ . my_env/bin/activate
and add a node virtual environment to this existing new_venv:

$ nodeenv -p
"

Since we can't source {envdir}/bin/activate from within the tox.ini, we
just pass the environment variables into the virtual environment using
passenv = *.

An alternative may be to change run_test.sh to run tests which use
nodeenv within a venv by sourcing $VIRTUAL_ENV/bin/activate from within
run_test.sh.

Conflicts:
        tox.ini

NOTE(mriedem): The conflict is on the jscs job which was not in kilo.

Closes-Bug: #1458928

Change-Id: Icb91cdc0d4610407c4eeeda82f194c7016e3b540
(cherry picked from commit 22c485b179)
2015-05-26 12:39:35 -07:00
.tx update .tx/config to match Kilo Transifex resources 2015-04-23 23:24:34 +00:00
doc Merge "Fixing typo in AVAILABLE_REGIONS section" 2015-04-13 08:25:15 +00:00
horizon Fix exponentially growing AJAX updates for table rows 2015-05-04 15:44:26 -05:00
openstack_dashboard Merge "Import translations from Transifex for Juno" into stable/kilo 2015-04-24 08:49:21 +00:00
tools Adding review clean up script 2015-01-27 08:56:21 -07:00
.gitignore Added a migrate_settings command 2015-02-05 12:24:18 +01:00
.gitreview update .gitreview for stable/kilo 2015-04-17 10:29:31 +02:00
.jshintrc Adding horizon to jshint 2015-04-08 18:08:06 +00:00
.mailmap Update my mailmap 2013-10-25 14:49:23 +08:00
.pylintrc updating run_tests.sh to mimic other openstack projects, pep8, pylint, coverage 2011-08-31 14:41:36 -07:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:36 +00:00
HACKING.rst Remove #noqa from django.conf.urls.include 2014-09-29 13:58:39 +04:00
LICENSE Initial commit 2011-01-12 13:43:31 -08:00
MANIFEST.in Drop NodeJS dependency in favor of pure-python lesscpy 2013-08-16 09:31:08 +02:00
Makefile Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
README.rst Add install guide for users and clean up README 2014-10-09 03:29:26 +09:00
manage.py Gate on H102 Apache 2.0 license header not found for pep8 2013-11-19 13:55:04 -05:00
openstack-common.conf Remove unused openstack.common.importutils 2014-10-13 15:15:31 -07:00
requirements.txt Updated from global requirements 2015-04-23 15:48:09 +00:00
run_tests.sh run compilemessages with runtime deps 2015-03-25 19:12:14 +01:00
setup.cfg Bump pre-release to 2015.1.1 2015-05-04 15:30:23 -05:00
setup.py Updated from global requirements 2014-05-01 13:44:26 +00:00
test-requirements.txt Updated from global requirements 2015-03-21 00:09:13 +00:00
tox.ini Inherit environment variables for tests that use nodeenv 2015-05-26 12:39:35 -07:00

README.rst

Horizon (OpenStack Dashboard)

Horizon is a Django-based project aimed at providing a complete OpenStack Dashboard along with an extensible framework for building new dashboards from reusable components. The openstack_dashboard module is a reference implementation of a Django site that uses the horizon app to provide web-based interactions with the various OpenStack projects.

Using Horizon

See doc/source/topics/install.rst about how to install Horizon in your OpenStack setup. It describes the example steps and has pointers for more detailed settings and configurations.

It is also available at http://docs.openstack.org/developer/horizon/topics/install.html.

Getting Started for Developers

doc/source/quickstart.rst or http://docs.openstack.org/developer/horizon/quickstart.html describes how to setup Horizon development environment and start development.

Building Contributor Documentation

This documentation is written by contributors, for contributors.

The source is maintained in the doc/source directory using reStructuredText and built by Sphinx

  • Building Automatically:

    $ ./run_tests.sh --docs
  • Building Manually:

    $ tools/with_venv.sh sphinx-build doc/source doc/build/html

Results are in the doc/build/html directory