horizon/openstack-dashboard
Joe Heck 6d633a9ec7 updating run_tests.sh to mimic other openstack projects, pep8, pylint, coverage 2011-08-31 14:41:36 -07:00
..
dashboard Merge pull request #101 from e0ne/master 2011-08-31 12:45:59 -07:00
debian stub out build files 2011-06-22 17:24:36 -07:00
local Made quantum networking configurable. 2011-08-16 17:06:47 -04:00
tools updating run_tests.sh to mimic other openstack projects, pep8, pylint, coverage 2011-08-31 14:41:36 -07:00
Makefile stub out build files 2011-06-22 17:24:36 -07:00
README Better error messages on suspected openstackx missing errors 2011-07-12 15:38:57 -07:00
setup.py Refactored openstack-dashboard to use Django 1.3's contrib.staticfiles app as per current best-practices. This bumps the minimum required version of Django to 1.3 and introduces a backwards-incompatible change for any third-party code that relied on hard-coded paths to the media directory. 2011-08-30 16:45:38 -07:00

README

OpenStack Dashboard
-------------------

The OpenStack Dashboard is a reference implementation of a Django site that
uses the Django-Nova project to provide web based interactions with the
OpenStack Nova cloud controller.


Getting Started
---------------

For local development, first create a virtualenv for local development.
A tool is included to create one for you:

  $ python tools/install_venv.py


Now that the virtualenv is created, you need to configure your local
environment.  To do this, create a local_settings.py file in the local/
directory.  There is a local_settings.py.example file there that may be used
as a template.

Finally, issue the django syncdb command:

  $ tools/with_venv.sh dashboard/manage.py syncdb

If after you have specified the admin user the script appears to hang, it
probably means the installation of Nova being referred to in local_settings.py
is unavailable.


If all is well you should now able to run the server locally:

  $ tools/with_venv.sh dashboard/manage.py runserver

Adding openstackx Extensions to Nova
------------------------------------

If you are seeing large numbers of 404 exceptions on operations such as listing
servers, you are probably not running the openstackx extensions that the
dashboard depends on.  You will need to download the openstackx code from

> https://github.com/cloudbuilders/openstackx

and add the following option to your nova instantiation:

> --osapi_extensions_path=/path/to/openstackx/extensions

The rackspace cloudbuilders nova.sh script automates this process and creates a
full nova installation compatible with the dashboard.  You can acquire this
script from the repository at

https://github.com/cloudbuilders/deploy.sh