Skip to content
Django App to allow CRUD operations on resources listed in Sheltr
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Sheltr CMS

A backend/database to allow updating of Sheltr data.

Based on the vagrant-django-template. see instructions below on how to set up.


A template for new Django 1.4 projects developed under Vagrant. Features offered include:

  • A Vagrantfile for building an Ubuntu Precise based VM
  • A virtualenv (configured to be active on login), with project dependencies managed through a requirements.txt file
  • A PostgreSQL database (with the same name as the project, pre-configured in the project settings file)
  • Separation of configuration settings into, and (and optionally, kept outside of version control) as per
  • South, django-devserver, django-compressor, django-debug-toolbar out of the box
  • A boilerplate base template with jquery included, and various other ideas and best practices borrowed from


Install Django 1.4 on your host machine. (Be sure to explicitly uninstall earlier versions first, or use a virtualenv - having earlier versions around seems to cause pre-1.4-style and files to be generated alongside the new ones.)

To start a new project, run the following commands: startproject --template --name=Vagrantfile myproject
cd myproject
vagrant up
vagrant ssh
  (then, within the SSH session:)
./ runserver

This will make the app accessible on the host machine as http://localhost:8111/ . The codebase is located on the host machine, exported to the VM as a shared folder; code editing and Git operations will generally be done on the host.

See also - a recipe for a Vagrant base box that can be used in place of precise32 in the Vagrantfile - this has more of the server setup baked in, so that we can save time by not having to re-run those steps every time we create a new VM instance.

You can’t perform that action at this time.