Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

praekeltfoundation/xenzen

Repository files navigation

XenZen

https://travis-ci.org/praekeltfoundation/xenzen.svg?branch=develop

A Django UI for managing XenServer in the simplest possible way.

Getting started

To install XenZen run:

$ git clone https://github.com/praekeltfoundation/xenzen.git
$ cd xenzen/
$ virtualenv ve
$ . ./ve/bin/activate
$ pip install -e .

To start a development server listening on 127.0.0.1:8000, with a SQLite database, run:

$ export DJANGO_SETTINGS_MODULE=xenserver.testsettings
$ django-admin syncdb
$ django-admin collectstatic
$ django-admin runserver

To configure XenZen further, create the file local_settings.py containing extra Django settings. For example, to configure a PostgreSQL database:

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'xenzen',
        'USER': 'postgres',
        'PASSWORD': '',
        'HOST': 'localhost',
        'PORT': '',
    }
}