Infractores is a tool that lets anyone with a Twitter account report a parking violation with a tweet.
The violations are recorded and placed in a map along with evidence supporting the report.
The project uses a Twitter application to find the tweets that describe a violation. It also uses Amazon Web Services to store the evidence related to the violation.
- Postgres 9.4.1+
- Redis 3.0.1+
- Ruby 2.2.1
Setup your environment
cp .env.sample .env
You must enter your AWS and Twitter credentials in this file.
Setup your database
rake db:create db:migrate
Get parking violations from Twitter
This task will download all the mentions for the user associated with the Twitter credentials and its hashtag, for example: #InfractoresBA
This will start the Rails server and a Sidekiq worker to process the tweets.
See: MIT License.