Mapping where in the world people drop the fBomb
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1708090 Jun 3, 2018
Permalink
Failed to load latest commit information.
assets Hover to show open tweets, show media in sidebar Apr 20, 2014
public title-bar style Apr 22, 2014
routes easier config Jan 19, 2014
views oops May 16, 2014
.gitignore gitignore Nov 23, 2016
Gruntfile.js Updaate to get this working Nov 23, 2016
LICENSE The MIT License Nov 30, 2013
Procfile Clean Up Jan 17, 2014
README.md Update README.md Jun 3, 2018
app.coffee Updaate to get this working Nov 23, 2016
config.json gitignore Nov 23, 2016
package.json Clean Up Jan 17, 2014

README.md

fBomb

See where in the world the fBomb was dropped

Installation


Fairly basic to set up your own instance of this application.

To set up your own version of this app, all you have to do is clone this repo:

$ git clone https://github.com/mgingras/fBomb.git && cd fBomb && npm install

Configuration


For this applicaiton you need to get the API keys for Twitter https://dev.twitter.com and Google Maps. These are then inserted into config.json . You can also specify the name you want your applciation to have in this file.

Below is the current config.json file. replace the values surrounded by brackets ('[') with your API keys and configurations.

{
  "consumer_key":"[CONSUMER_KEY]",
  "consumer_secret":"[CONSUMER_SECRET]",
  "oauth_token":"[OATH_TOKEN]",
  "oauth_token_secret":"[OAUTH_TOKEN_SECRET]",
  "gmaps":"[GMAPS_API_KEY]",
  "app_name":"[APP_NAME]",
  "track": "[WORDS_TO_TRACK]"
}

You can then run the application with the following:

$ coffee coffeeApp.coffee

If you have configured it correctly you should be able to browse to localhost:3000 and you see some bombs drop!

Customization


Tracking

To change what is being tracked by the application, replace "[WORDS_TO_TRACK]" in config.json with a comma seperated list of words to track. (e.g. "fuck,fucks,fucking").

Images

Markers are customizable by replacing 'fbomb.gif' and 'signPost.png' located in './public/img/'

'fbomb.gif' is the initail indicator.
'signpost.png' is the marker that drops after the gif animation and stays on the map.

Deployment


If you want to deploy this app, I suggest Heroku, they have lots of docs to help you out: node.js: https://devcenter.heroku.com/articles/getting-started-with-nodejs
websockets: https://devcenter.heroku.com/articles/node-websockets

Contact


Let me know if you have any questions!

Martin
martin@mgingras.com