Google App Engine
Apr 15, 2008
It took less than two hours to convert Cogteeth1 to run with the Google App Engine. Admittedly this is a pretty simple example since cogteeth doesn't use a database and Django is supplied with the App Engine environment.
All that was necessary was:
- Create a
main.py
: Since the app is Django based this was just a modified copy of the version on this page. - Create an
app.yaml
to pass all URLs ontomain.py
and serve the static files directly. - Modify some URL fetching code that previously used
urllib2
to useurlfetch
.
UPDATE: Cogteeth has been retired.↩