From 551632be1fd9f2ebabb67c5d7bea5cdb3fcaa43f Mon Sep 17 00:00:00 2001 From: Daniel Ternyak Date: Sat, 29 Sep 2018 17:54:54 -0500 Subject: [PATCH] Update README.md --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 97cc3e7..6668ac9 100755 --- a/README.md +++ b/README.md @@ -1,12 +1,10 @@ # Molten-Boilerplate ## Usage +Install requirements `pip install -r requirements.txt` -1. Install requirements `pip install -r requirements.txt` -2. run the app with `gunicorn app:app`. +### Dev +`export ENVIRONMENT="common" && gunicorn --reload app:app` -## Example requests - - $ curl -F'name=mittens' http://127.1:8000/v1/kittens - $ curl http://127.1:8000/v1/kittens - $ curl http://127.1:8000/v1/kittens/1 +### Test +`export ENVIRONMENT="test" && pytest tests`