http://api.accountableto.us/v1
We can mourn the state of affairs, or we can use the elections as a wake-up call. This API seeks to provide a generalized and unbiased political promise tracker. The idea is that we can take the things that politicians claim they'll do and keep a record of it. Any time they accomplish a goal or break a promise, we can track it -- with sources. When it comes time to vote again, this tool could be used to gauge how effective a politician was at accomplishing their goals. The judgement as to why isn't in the domain of this tool. That, as always, is up to the voter.
- Docker
First time:
docker-compose up --build
to build the application and data containersdocker -exec -it {container ID} bash
to connect to the application containergoose up
to run any outstanding migrations
The container uses gin to auto-reload the server when a change is detected. So if you make a change, you don't need to rebuild.
To bring up the container after it has already been built, use docker-compose up
(without --build
).
This application is deployed using dokku. Pushes to the master branch will deploy a new image to production.