Skip to content

Commit 1203478

Browse files
committed
update doc and dev procedures, use forman with procfiles
1 parent 2de73fd commit 1203478

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: Procfile.dev

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: gunicorn -b "127.0.0.1:$PORT" -w 9 app:app

Diff for: README.markdown

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ Start virtual environment
2424

2525
$ workon opennotify
2626

27-
Start flask server
27+
Run with [foreman](https://github.com/ddollar/foreman) using dev procfile:
2828

29-
(opennotify)$ python app.py
29+
(opennotify)$ foreman start -f Procfile.dev
3030

31-
Go to [localhost:5000](http://localhost:5000)
31+
Go to [localhost:5000](http://localhost:5000) and test.
3232

3333

3434
## API Documentation
3535

3636
Docs are in the gh-pages branch, or on the web here:
3737

38-
- [Open Notify API Documentation](http://open-notify.github.io/Open-Notify-API/)
38+
- [Open Notify API Documentation](http://open-notify.org/Open-Notify-API/)
3939

4040

4141
## License

0 commit comments

Comments
 (0)