Skip to content

Instantly share code, notes, and snippets.

@colwilson
Created November 7, 2011 09:08
Show Gist options
  • Save colwilson/1344513 to your computer and use it in GitHub Desktop.
Save colwilson/1344513 to your computer and use it in GitHub Desktop.
Google App Engine Python2.5 Development in Ubuntu 11.10
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python2.5 python-virtualenv virtualenvwrapper python-pip
export CURRENT=oinkyoinker
mkvirtualenv --no-site-packages --distribute --python python2.5 ${CURRENT}
workon ${CURRENT}
cdvirtualenv
pip install fabric yolk ipython readline
wget -O /tmp/gae.zip http://googleappengine.googlecode.com/files/google_appengine_1.5.5.zip
unzip /tmp/gae.zip
echo "../../../google_appengine" > lib/python2.5/site-packages/gae.pth
mkdir -p application/static
echo """application: oinkyoinker
version: 1
runtime: python
api_version: 1
default_expiration: "7d"
handlers:
- url: /
static_dir: static
""" > application/app.yaml
./google_appengine/dev_appserver.py application/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment