instructions to run webapp locally

5 views
Skip to first unread message

Anand Chitipothu

unread,
Apr 2, 2009, 6:11:24 AM4/2/09
to electi...@googlegroups.com
Here are the instructions to run webapp locally.

Create a sample database locally:

$ wget http://anandology.com/tmp/electionspot/electionspot_pgdump.gz
$ createdb electionspot
$ gzip -cd electionspot_pgdump.gz | psql electionspot

Checkout code:

$ git clone git://github.com/anandology/electionspot.git

And run webapp:

$ cd electionspot
$ python webapp.py

Anand

leela vadlamudi

unread,
Apr 2, 2009, 8:34:44 PM4/2/09
to electi...@googlegroups.com

In the candidate table  primary key relates to the name of the candidate.

How can we handle if 2 candidates has the same name?
Reply all
Reply to author
Forward
0 new messages