Skip to content

Commit

Permalink
README.md clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jawang35 committed Nov 3, 2018
1 parent cd62676 commit 7975e9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ These variables can be [passed into the Docker run](https://docs.docker.com/engi
$ cp .env.sample .env # Fill out .env file
$ docker build -t run-on-ec2 .
$ docker run --rm -it --env-file=.env run-on-ec2 echo \"hello world\"

Creating key pair run-on-ec2-eb5f9910-1635-40e1-b120-0e08b06a60ce...
Launching instance run-on-ec2-eb5f9910-1635-40e1-b120-0e08b06a60ce...
Waiting for instance run-on-ec2-eb5f9910-1635-40e1-b120-0e08b06a60ce to be ready...
Expand All @@ -48,6 +49,7 @@ $ source activate run-on-ec2
```sh
$ cp .env.sample .env # Fill out .env file
$ env $(cat .env | xargs) python main.py echo \"hello world\"

Creating key pair run-on-ec2-eb5f9910-1635-40e1-b120-0e08b06a60ce...
Launching instance run-on-ec2-eb5f9910-1635-40e1-b120-0e08b06a60ce...
Waiting for instance run-on-ec2-eb5f9910-1635-40e1-b120-0e08b06a60ce to be ready...
Expand Down

0 comments on commit 7975e9c

Please sign in to comment.