blob: 7d69124dbee538cc5ab1e020d97e97f72ae09c81 [file] [log] [blame]
Andy Bavier37044342015-02-06 16:39:06 -05001The Dockerfile in this directory will build a Docker image for running
2XOS using the Django development server. Here's how to do it:
3
41. Currently planetstack/core/fixtures/initial_data.json is broken!
5 Overwrite this file with a working fixture, e.g., by dumping
6 portal.opencloud.us's database:
7
8 $ sudo /opt/xos/scripts/opencloud dumpdata
9
102. $ docker build -t xos .
11
123. $ docker run -t -i -p 8000:8000 xos
13
144. Now you will have a bash prompt as root inside the XOS container.
15 Start up XOS:
16
17 # /opt/xos/scripts/opencloud runserver
18
19You can access the XOS login at http:<server>:8000, where <server> is
20the name of the server running Docker.