Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Bootstraps a VirtualBox instance for Google App Engine Python development
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
vagrant_provisioning
.gitignore
README.markdown
Vagrantfile

README.markdown

Ubuntu + Python v2.5 + Google App Engine Python SDK

This Vagrant recipe lets you build VirtualBox instances with Google App Engine Python SDK installed together with all its dependencies.

Background

Currently the GAE Python SDK requires python2.5 which unfortunately is NOT available in typical (lucid32.box) Vagrant baseboxes. To get around this we add Felix Krull's "deadsnakes" backports PPA as a package source and tweak our hashbangs accordingly.

Typical usage

vagrant up
# Wait while provisioning finishes ...

Port forwarding comes set up like (host):8080 -> (vagrantbox):8080, however because dev_appserver.py binds explicitly to 127.0.0.1 it might not be able to send packets back to the host. For that reason, just tell the appserver to bind to all addresses instead:

vagrant ssh
dev_appserver.py -a 0.0.0.0 /vagrant/my_gae_python_app
Something went wrong with that request. Please try again.