Created
November 7, 2011 09:08
-
-
Save colwilson/1344513 to your computer and use it in GitHub Desktop.
Google App Engine Python2.5 Development in Ubuntu 11.10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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