Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Latest commit

 

History

History
56 lines (40 loc) · 1 KB

README.md

File metadata and controls

56 lines (40 loc) · 1 KB

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