A platform for congressional scorecards.
You will need Ruby 2.3.1, Node 6.0.0+, Yarn, and Postgres. Then run:
Install packages:
sudo apt-get libpq-dev
gem install bundler
bundle install
yarn install
Add your database credentials:
cp .env.example .env
Create the default admin user and import Congress members.
rake db:seed
rake congress:update
rails s
You should now be able to login with the default admin credentials:
You can run all tests and linters with rake test
.