Search This Blog

Sunday, February 20, 2011

Setup Native Django with Google App

Summary of
by wkornewald

install GAE (on Linux, you can put it in /usr/local/google_appengine )

set up the path
export PATH=$PATH:/usr/local/google_appengine
export PYTHONPATH=/usr/local/google_appengine/lib/
(you might need to change permission on google_appengine folder so not only root can run it.)

download these:
hg clone
hg clone
hg clone
hg clone
hg clone

Copy the following folders into your project (e.g., django-testapp):
  • django-nonrel/django => /django
  • djangotoolbox/djangotoolbox => /djangotoolbox
  • django-dbindexer/dbindexer => /dbindexer
  • djangoappengine => /djangoappengine

edit app.yaml
application: your_app_id (name)

python runserver

check your http://localhost:8000/

No comments: