Name: dashboard
Owner: datamade
Description: Dashboard for The OpenElections Project.
Created: 2015-04-13 17:25:04.0
Updated: 2015-04-13 17:28:27.0
Pushed: 2015-04-13 17:26:25.0
Size: 384
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
OpenElections Dashboard is a clearinghouse for state election data. The Dashboard will feature information about election agencies, sources of certified results, and the status of the project's data gathering operation.
Create a virtualenv
rtualenv openelections
Jump in and activate
openelections
bin/activate
Clone the repository and jump in
t clone git@github.com:openelections/dashboard.git repo
repo
Install the python dependencies
p install -r requirements.txt
p install -r requirements-dev.txt
Add the dashboard
directory to your PYTHONPATH
port PYTHONPATH=$PYTHONPATH:`pwd`/dashboard
Create a local_settings.py
from the template
dashboard/config/local_settings.py.tmpl dashboard/config/local_settings.py
Edit the local settings with your database name and secret key
m dashboard/config/local_settings.py
Create the database.
re's using the default postgresql backend and database name
do -u postgres createdb openelections-dashboard
Sync the database and catch up with all the migrations
port DJANGO_SETTINGS_MODULE=dashboard.config.dev.settings
ango-admin.py syncdb
ango-admin.py migrate hub
Load initial metadata
ango-admin.py loaddata dashboard/apps/hub/fixtures/initial_metadata.json
Fire up the development server
ango-admin.py runserver