- commit
- f6bf15f4ea2078e3e4edaf57d54ad2700ace9b5e
- parent
- 6992a76a9b8200a270bd62eae8c0d2ca69ec0670
- Author
- Tobias Bengfort <tobias.bengfort@liqd.de>
- Date
- 2016-09-15 14:06
update README / watch is optional
Diffstat
| M | README.md | 16 | ++++++++++++---- |
1 files changed, 12 insertions, 4 deletions
diff --git a/README.md b/README.md
@@ -72,11 +72,19 @@ lines will bring it up: 72 72 $ git clone https://github.com/xi/voterunner 73 73 $ cd voterunner 74 74 $ npm install75 -1 $ pip install -r watch_requirements.txt76 -1 $ bin/initialize_db.sh-1 75 $ bin/manage_db.sh init -1 76 $ bin/manage_db.sh start -1 77 $ export DATABASE_URL="postgresql://:@localhost/voterunner" -1 78 $ node app.js -1 79 ... Listening on localhost:5000 -1 80 $ open http://localhost:5000/ # introduction -1 81 $ open http://localhost:5000/my-topic/ # discuss on a topic -1 82 -1 83 For development it may be nice to automatically restart the app and refresh the -1 84 browser whenever you make changes: -1 85 -1 86 $ pip install --pre -r watch_requirements.txt 77 87 $ bin/watch.py78 -1 $ open http://localhost:5000/ # introduction79 -1 $ open http://localhost:5000/my-topic/ # discuss on a topic80 88 81 89 82 90 Development