blob: 5ce5806429c8cfc7298581b94b5c45507487201f [file] [log] [blame]
Andy Baviere4b346e2015-02-06 16:39:06 -05001The Dockerfile in this directory will build a Docker image for running
Andy Bavierbb4e7072015-02-06 16:52:21 -05002XOS using the Django development server. It copies whatever files are
3in the local repository into the image. Here's how to do it:
Andy Baviere4b346e2015-02-06 16:39:06 -05004
51. Currently planetstack/core/fixtures/initial_data.json is broken!
6 Overwrite this file with a working fixture, e.g., by dumping
7 portal.opencloud.us's database:
8
9 $ sudo /opt/xos/scripts/opencloud dumpdata
10
112. $ docker build -t xos .
12
133. $ docker run -t -i -p 8000:8000 xos
14
154. Now you will have a bash prompt as root inside the XOS container.
16 Start up XOS:
17
18 # /opt/xos/scripts/opencloud runserver
19
20You can access the XOS login at http:<server>:8000, where <server> is
Andy Baviera2065432015-02-06 16:49:59 -050021the name of the server running Docker.
22
23STILL TO DO
24-----------
25* Test Observer