Skip to content

Commit

Permalink
DEMO: Update README.md for the Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
steven1003 committed Feb 1, 2018
1 parent 009a6f2 commit 3cf6d26
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# Demo Instructions

## Building the Docker image:

To be able to use the demo, do the following to have a working docker image. This command will be ran in the demo directory to build the Groundr Docker image using the provided Dockerfile.

docker build scripts -t groundr

If you would like to test the Docker image, the following command can be run, replacing all instances of 5000 with whatever port you want the Docker image to use.

docker run -p 5000:5000 -it groundr /root/start.sh 0.0.0.0 5000

## Launching the demo:

Launch demo.py in this folder, giving it an IP and port to host on if needed:

python demo.py <ip> <port>

The defaults are IP 0.0.0.0 and port 80, which you can connect to by either entering localhost into your browser, or the IP of the server.
The defaults are IP 0.0.0.0 and port 80, which you can connect to by either entering localhost into your browser, or the IP of the server.

0 comments on commit 3cf6d26

Please sign in to comment.