From 96ea3981134ba8ae73a28fb0098a0a8e66ba5dd3 Mon Sep 17 00:00:00 2001 From: Kiril Piskunov Date: Tue, 20 Sep 2011 22:02:44 +0100 Subject: [PATCH] updated README --- README | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README b/README index 2be6702..f50c115 100644 --- a/README +++ b/README @@ -14,11 +14,19 @@ $ easy_install werkzeug $ easy_install beautifulsoup $ easy_install simplejson -$ ./shortly.py +$ ./shortly.py * Running on http://127.0.0.1:8080/ * Restarting with reloader -The from another terminal tab: +Now you can check that web service is working. +From another terminal tab: -$ curl http://127.0.0.1:8080/ +$ curl http://127.0.0.1:8080/shortly/56320 [["E3", "Chiswick ", "5 min"], ["E3", "Chiswick ", "14 min"], ["E3", "Chiswick ", "19 min"]] + +=== Deploying in production === + +You should follow Werkzeug instructions depending on your web server setup: +http://werkzeug.pocoo.org/docs/deployment/ + +If you choose to go with FastCGI setup you could use shorly.fcgi script included in the repository.