Skip to content

Commit fb48e68

Browse files
committed
Update docs
1 parent 3ebef46 commit fb48e68

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Cookiecutter Starter Template to build and deploy Machine Learning model as Flask App
1+
# Cookiecutter Starter Template to build and deploy Machine Learning model as API Micro Servies
22

3-
_A logical, reasonably standardized, but flexible project structure for doing and sharing data science and deploy the model as flask app_
3+
_A logical, reasonably standardized, but flexible project structure for doing and sharing data science and deploy the model_
44

55

66
### Requirements to use the cookiecutter template:
@@ -12,7 +12,7 @@ _A logical, reasonably standardized, but flexible project structure for doing an
1212
### To start a new project, run:
1313
------------
1414

15-
cookiecutter https://github.com/sampathweb/cc-api-app
15+
cookiecutter https://github.com/sampathweb/cc-iris-api
1616

1717
### Credits:
1818
------

{{cookiecutter.repo_name}}/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ python run.py
2626
### Test App
2727
2828
29-
1. Open Browser: (http://localhost:9000)
29+
1. Open Browser: [http://localhost:9000](http://localhost:9000)
3030
3131
2. Command Line:
3232
@@ -44,6 +44,7 @@ Api works!
4444
4545
4646
```
47+
# These git Steps are Optional for Pydata Tutorial.
4748
git init
4849
git add --all
4950
git commit -m "first commit"
@@ -117,11 +118,13 @@ sudo supervisorctl reload
117118
118119
### Test the App
119120
120-
1. Open Browser: http://<AWS IP> (App is Live!)
121+
1. Open Browser: `http://<AWS IP>` (App is Live!)
121122
122-
2. Test API:
123+
2. Test in Command Line (Optional):
123124
125+
```
124126
curl -i http://<aws ip address>/api/iris/predict -X POST -d '{ "sepal_length": 2, "sepal_width": 5, "petal_length": 3, "petal_width": 4}'
127+
```
125128
126129
Congratulations you have deployed your App
127130

{{cookiecutter.repo_name}}/app/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from sklearn.externals import joblib
1212

13-
from app.settings import MODEL_DIR, AUTH_KEY, AUTH_SECRET
13+
from app.settings import MODEL_DIR
1414
from app.handler import IndexHandler, IrisPredictionHandler
1515

1616

0 commit comments

Comments
 (0)