bruin-training

A simple training app for Daily Bruin trainees, using campaign contribution data from the 2012 California Propositions.

Initial setup:

Set up a sandbox for your codebase using virtualenv.

$ virtualenv --no-site-packages training

Activate the virtualenv.

$ cd training
$ . bin/activate

Clone down the training repo.

$ git clone git@github.com:anthonyjpesce/bruin-training-fall-2013.git repo

Enter the project and install its dependencies.

$ cd repo
$ pip install -r requirements.txt

Installing SQLite

Install SQLite

$ sudo apt-get install sqlite3

Then set up the test database

$ sqlite3 contribs.db
> .exit

Starting up the Django project

Sync the database, and run our script to load in the data.

$ python manage.py syncdb

Turn on the test server, and see what you have!

$ python manage.py runserver

Go to http://localhost:8000/