gnmerritt / dailyrippl

Civic engagement one rock at a time

Home Page:https://rippl.gnmerritt.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dailyrippl

throwing smooth washed pebbles / as far as I can

dev setup

in a separate directory

git clone https://github.com/unitedstates/congress-legislators

prereqs

brew install yarn
brew install pyenv-virtualenvwrapper
mkvirtualenv rippl -p python3.5

database setup

brew install postgresql
brew services start postgresql
psql -U postgres -h localhost -f scripts/db_setup.sql

in here

pip install -r requirements.txt
python rippl/manage.py migrate
python rippl/manage.py createsuperuser
python rippl/manage.py import_reps <path to legislators-current.yaml>
python rippl/manage.py import_bills --start_date "2016-12-01"

yarn install
brunch build # can use brunch watch for live reloading

python rippl/manage.py runserver

running tests

tox

architecture

Probably something like this

architecture

Django for web

Deepstream for realtime

PostgreSQL for DB

About

Civic engagement one rock at a time

https://rippl.gnmerritt.net

License:MIT License


Languages

Language:Python 65.2%Language:JavaScript 22.9%Language:HTML 9.2%Language:Shell 1.3%Language:CoffeeScript 1.0%Language:CSS 0.4%