Giter Club home page Giter Club logo

infractores's Introduction

Infractores

Build Status

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.

Considerations

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.

Requirements

  • Postgres 9.4.1+
  • Redis 3.0.1+
  • Ruby 2.2.1

Setup

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

rake twitter:download_tweets

This task will download all the mentions for the user associated with the Twitter credentials and its hashtag, for example: #InfractoresBA

Start

foreman start

This will start the Rails server and a Sidekiq worker to process the tweets.

License

See: MIT License.

infractores's People

Contributors

cecilia-ombulabs avatar etagwerker avatar mauro-oto avatar sirkosi avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infractores's Issues

Setup TravisCI

Just to make sure that the build continues to pass after every contribution.

Links for social sharing

We could add a few "Share on Twitter" or "Share on Facebook" buttons/links to each infraction, either on the infraction div itself or maybe on the map, overlayed, after clicking and zooming in on an infraction?

Add a section that explains how to report an infraction

We should have a section that explains how to tweet an infraction.

It could be something like this:

"Para reportar una infracción sólo es necesario mencionar a @InfractoresBA o agregar el hashtag #InfractoresBA a tu tuit.

Una denuncia válida debe tener:

  • Por lo menos una foto que muestre la infracción
  • Geolocalización activada al momento de enviar el tuit"

Infractoresba.com.ar doesn't work, www.infractoresba.com.ar does

@etagwerker there's a missing config problem, only www.infractoresba.com.ar works.

Trying to access without www:

➜  carbide git:(mauro-oto/fix-server-node-ips-rake-task) ✗ host www.infractoresba.com.ar
www.infractoresba.com.ar is an alias for infractoresba.herokuapp.com.
infractoresba.herokuapp.com is an alias for us-east-1-a.route.herokuapp.com.
us-east-1-a.route.herokuapp.com has address 23.23.152.183
➜  carbide git:(mauro-oto/fix-server-node-ips-rake-task) ✗ host infractoresba.com.ar
➜  carbide git:(mauro-oto/fix-server-node-ips-rake-task) ✗ 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.