It is an 'out of the box' vm configured for Geo Django, using Chef and Vagrant
- It installs and sets up postgresql with postgis
- It installs nginx
- It installs some utils (vim, screen and git)
- It installs some useful python utils (pip, virtualenv and virtualenvwrapper)
- It fixes VirtualBox issue where shared folders to not work due to addon/guesttools not being installed
- apt - updates
- apt-upgrade upgrades vm packages (disabled by default)
- build-essential
- database - postgres + postgis
- geos - installs
- proj4 - installs
- git - installs
- nginx - installs
- python-pip - installs
- python-virtualenv - installs
- virtualenvwrapper - installs and adds virtualenvwrapper to profile
- screen - installs
- vim - installs
- virtualbox-guesttools - installs guest tools so that shared folders work
- django - you should install this in your virtualenv
- user setup
- fabric template for project creation / deployment
I am using the default lucid32 box with vagrant. This is the only box I have tested this on. Feel free to report back your experiences on other boxes and I will keep this updated.
$ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
$ git clone https://github.com/eamonnfaherty/geodjango-env.git
$ cd geodjango-env
$ vim cookbooks/database/attributes/default.rb #edit db conf
$ vagrant up
- The guys at caffeinehit for their version which I used as a base : https://github.com/caffeinehit/chef-geodjango Thank you guys!