diff options
author | 2018-05-23 22:47:17 +0200 | |
---|---|---|
committer | 2018-05-23 22:47:17 +0200 | |
commit | 1e7ef6f4202c408ae28de64af26163078f350260 (patch) | |
tree | 074fe061140066da4286d84f9cdd1970e1bdf2d9 | |
parent | update readme (diff) |
update readme
-rw-r--r-- | README.md | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -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 |