diff options
| author | Leon Overweel <l.overweel@gmail.com> | 2017-02-06 12:06:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-06 12:06:49 +0100 |
| commit | ebbbb9ac91aab60587d7750992e40fcc41f98ad5 (patch) | |
| tree | dd4410cc8257bca5a06d1e6773b1a67e1b31d306 /README.md | |
| parent | 6935caadfb67a3e9c6e6147d4a645bdc132f4ee4 (diff) | |
| parent | b1d9aa806341c362e770afa70b52094cd016492a (diff) | |
Merge pull request #1 from sacheendra/master
Add Docker build
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -14,12 +14,24 @@ 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 https://github.com/tudelft-atlarge/opendc.git + +# Enter the directory +cd opendc/ + +# 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] + |
