Skip to content

Latest commit

 

History

History
88 lines (67 loc) · 2.21 KB

README.md

File metadata and controls

88 lines (67 loc) · 2.21 KB

#djangobox

The main purposed of this box is to create an environment that runs Django. It also clones the hos-django repository; to make it easy to set-up the development environment for HopeOneSource projects.

#####The final vagrant box is on ATLAS and is named omnitom/hosdjangobox #####Install Vagrant and see Getting Started #####example:

$ vagrant init omnitom/hosdjangobox
$ vagrant up

#####Building the djangobox yourself:

Three different packer templates are meant to be run in order. This is done so new features can be added in an incremental fashion.

Install packer first.

-packer build hos-djangbox-step1-install-os.json

This will output a hos-djangbox-step1 .ovf and .vmdk file in the newly created output-virtualbox-iso directory

-packer build hos-djangbox-step2-install-software.json

This will output a .ovf file in the newly created output-virtualbox-ovf directory

-packer build hos-djangbox-step3-configure-system.json

The final .ovf file will be inside the output-virtualbox-ovf3 directory. The final Vagrant box file will be inside the step3-box directory.

##What's installed

-ubuntu 14.04 desktop (credit to: https://github.com/boxcutter/ubuntu)

###system_packages:

  • build-essential
  • git
  • curl
  • make
  • vim
  • unzip
  • nodejs
  • graphicsmagick
  • nginx
  • clang
  • whois
  • python-setuptools
  • python-dateutil
  • python-software-properties
  • python-gdal
  • python-mapnik2
  • python-pyproj
  • python-dev
  • python-imaging
  • python-virtualenv
  • postgis
  • zlib1g-dev
  • subversion
  • doxygen
  • graphviz
  • pgadmin3
  • gdal-bin
  • libpq-dev
  • libgdal-dev
  • supervisor
  • qgis

###Ubuntu Personal Package Archives (PPAs):

  • ubuntugis/ubuntugis-unstable
  • kakrueger/osm-unstable
  • developmentseed/mapbox
  • rael-gc/rvm

###repos:

###Python packages:

  • django
  • psycopg2
  • django-geojson
  • requests
  • pyyaml
  • django-leaflet
  • gunicorn