Andy Bavier | e4b346e | 2015-02-06 16:39:06 -0500 | [diff] [blame^] | 1 | The Dockerfile in this directory will build a Docker image for running |
| 2 | XOS using the Django development server. Here's how to do it: |
| 3 | |
| 4 | 1. 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 | |
| 10 | 2. $ docker build -t xos . |
| 11 | |
| 12 | 3. $ docker run -t -i -p 8000:8000 xos |
| 13 | |
| 14 | 4. 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 | |
| 19 | You can access the XOS login at http:<server>:8000, where <server> is |
| 20 | the name of the server running Docker. |