aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-05-23 22:47:17 +0200
committerGravatar Christopher Baklid <[email protected]>2018-05-23 22:47:17 +0200
commit1e7ef6f4202c408ae28de64af26163078f350260 (patch)
tree074fe061140066da4286d84f9cdd1970e1bdf2d9
parentupdate readme (diff)
update readme
-rw-r--r--README.md21
1 files changed, 10 insertions, 11 deletions
diff --git a/README.md b/README.md
index e89d441..d4c1a70 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ user ->
```
-# Dependencies
+## Dependencies
| dep | version (or greater) |
|----------------|:---------------------|
@@ -50,8 +50,6 @@ netstat -plnt
# tcp 0.0.0.0:5000 LISTEN
```
-## Test the code
-
use two terminals!
```bash
@@ -64,17 +62,18 @@ pipenv run python snekweb.py
`http://localhost:5000`
-## Build and run the consumer in a container
+_________________________________
-```bash
-docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile .
+# Build the containers
-#terminal 1
-docker run --name snekbox -d pythondiscord/snekbox:latest
-docker logs snekbox -f
+```bash
+# Build
+pipenv run buildbox
+pipenv run buildweb
-#terminal 2
-pipenv run python snekbox/publish.py
+# Push
+pipenv run pushbox
+pipenv run pushweb
```
## Docker compose