Skip to content

anthonyjpesce/bruin-training-fall-2013

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published