diff options
| author | Sacheendra Talluri <sacheendra.t@gmail.com> | 2017-01-26 18:49:38 +0100 |
|---|---|---|
| committer | Sacheendra Talluri <sacheendra.t@gmail.com> | 2017-01-26 18:49:38 +0100 |
| commit | 04e05052910a58790bdabd4e8d4232e5fb3c6e0a (patch) | |
| tree | 37d67d7a859b9dca0e5aec1259dfd0e97b09ab52 | |
| parent | 01410021a7fe733edab64d7cb4b359685d89cd91 (diff) | |
Add build steps to README
| -rw-r--r-- | README.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -14,12 +14,21 @@ The simulator monitors this `queued_experiments` table, and simulates experiment ## Setup -To build and run the full OpenDC stack locally: +The official way to run OpenDC is using Docker. -First, clone this repository and its submodules: +To build and run the full OpenDC stack locally: ```bash +# Clone the repo and its submodules git clone --recursive git@github.com:tudelft-atlarge/opendc.git + +# Build the Docker image +docker build -t="opendc" . + +# Start a container with the image +docker run -d --name opendc -p 8081:8081 -e 'SERVER_URL=http://localhost:8081' -e 'OAUTH_CLIENT_ID=your-google-oauth-client-id' -e 'OAUTH_CLIENT_SECRET=your-google-oauth-secret' opendc + +# Wait a few seconds and open http://localhost:8081 in your browser ``` -Then... [TO DO] + |
