Skip to content

A puppet-based vagrant config (for .9) that installs Python 2.7, Virtualenv, Postgresql 9.1, and Redis server

Notifications You must be signed in to change notification settings

mattbowen/vagrant-python27-psql-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a rough set of configuration for vagrant to get Ubuntu Oneiric 64 setup with

  • all the stuff you need for building PIL
  • the system python 2.6
  • python2.7 and python 2.7 dev
  • a python 2.7 virtualenv named "projectenv" to put your stuff in
  • Postgresql 9.1, the dev package for the postgres client, and a postgres superuser named vagrant and a database named vagrant

The goal is to have a reasonably modern VM for developing python software to launch on the cloud, specifically on Heroku.

Fair warning: This needs some testing, as it's really only been tested on my OSX 10.6 laptop. So, if it doesn't work for you, file a bug :)

To get going:

  • Install virtual box
  • Install vagrant following the instructions on the homepage.
  • clone this repo
  • run "vagrant up" in the directory you cloned
  • enter your password so that NFS will work
  • find something else to keep you busy for the next 30-45 minutes
  • run "vagrant ssh" when the box is finished setting itself up

TODO:

  • Actually setup redis
  • Remove svn stuff from vagrant-python
  • Set environment variables with DB connection strings, like Heroku
  • Add Heroku debs

About

A puppet-based vagrant config (for .9) that installs Python 2.7, Virtualenv, Postgresql 9.1, and Redis server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages