First, request an API key from propublica
bundle install
bundle exec figaro install
- add
govt_api_key: <your api key>
toapplication.yml
rails db:create
rails db:migrate
Note: running bundle exec figaro install
will create a hidden application.yml
file in the config
directory. If you don't see this file in your text editor,
you may need to navigate to this directory to open the file from your command line.
cd config
ls -la
should show the newapplication.yml
fileatom application.yml
(or the equivalent command for your text editor)cd ..
to return to the root directory of your app