Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiril Piskunov committed Sep 20, 2011
1 parent c1a4e31 commit 96ea398
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README
Expand Up @@ -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.

0 comments on commit 96ea398

Please sign in to comment.