Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (52 sloc) 2.64 KB

#Development Environment

(If you want to use this code in a production environment, see below)

It's super-easy to set up our development environment.

To begin development, we recommend that you use vagrant. That makes setting up the development environment super-easy, and also doesn't make any changes to your system.

Collect Pre-Requisites

  1. VirtualBox from, or your OS's repositories.
  2. Vagrant from Find the packages on the website.
  3. Git version control from or your OS's repositories.

Get the Files

  1. Create a folder for this project.
host:~$ mkdir ~/CrisisCommunicator
host:~$ cd CrisisCommunicator
  1. Clone the Code
host:~/CrisisCommunicator$ git clone
  1. Start Vagrant
host:~/CrisisCommunicator$ vagrant up
  1. It will download and install the precise64 virtual image, and then boot the system. After booting, it will update the package lists, and then install curl.
  2. After it's booted, log into the vagrant box by:
host:~/CrisisCommunicator$ vagrant ssh
  1. Run the Adorno script. It will set up the vagrant box, install requirements, and create a virtual environment. You will need to run it twice - see it's instructions.
vagrant:~$ curl -s | bash
  1. You may now begin development. Since you're in a vagrant box, you do all the development on your host machine (including git versioning), and run the code on the vagrant machine. See the readme for Adorno at for a quick command reference.

  2. Run the following commands to create the database.

vagrant:~/vagrant/webapp$ python syncdb
  1. Run the followinng command so that necessary static files are copied to the STATIC_ROOT configured in communicator/
vagrant:~/vagrant/webapp$ python collectstatic
  1. If no errors are reported, the development server is ready.
vagrant:~/vagrant/webapp$ python runserver

The development server will be now accessible from

Welcome Aboard!

#Production Environment

For a production environment, it is recommended that you follow these steps here:

#Installed Apps

  1. django-bootstrap-toolkit
  2. django-haystack
  3. Whoosh