blob: 5ce5806429c8cfc7298581b94b5c45507487201f [file] [log] [blame]
The Dockerfile in this directory will build a Docker image for running
XOS using the Django development server. It copies whatever files are
in the local repository into the image. Here's how to do it:
1. Currently planetstack/core/fixtures/initial_data.json is broken!
Overwrite this file with a working fixture, e.g., by dumping
portal.opencloud.us's database:
$ sudo /opt/xos/scripts/opencloud dumpdata
2. $ docker build -t xos .
3. $ docker run -t -i -p 8000:8000 xos
4. Now you will have a bash prompt as root inside the XOS container.
Start up XOS:
# /opt/xos/scripts/opencloud runserver
You can access the XOS login at http:<server>:8000, where <server> is
the name of the server running Docker.
STILL TO DO
-----------
* Test Observer