gardym / spacecubed-projectrjs

Spacecubeds Projectr: Social mappings for Perth (now in Node)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  _  __  ._  _ _/__. _
 /_///_///_'/_ / //_\ 
/     |/        |/    

Spacecubed's Projectr(js)

Sources:

  • Twitter Streaming API - by specified terms
  • Twitter Streaming API - by user
  • Instagram - Polling

Notings:

  • Sources are streamed in preference, or polled as required

Get projecting:

  • git clone
  • npm install
  • cp sample.env .env && (Edit it with your settings)
  • foreman start
  • browse to http://localhost:5000

Parameters

background=true // show the map background
interval=<seconds> // specify the update interval
days=<days> // number of days worth of data to seed the map with
data=fake // (see below for more)

A note on data:

The easiest option for local development is to use the inbuilt fake data source.

If you want to test the against real data sources you'll need to:

  • Ensure you have correct keys etc. set in your .env
  • Run mongo locally: mongod
  • Wait for the events to be collected in your Mongo
  • Grin happily

About

Spacecubeds Projectr: Social mappings for Perth (now in Node)


Languages

Language:JavaScript 98.7%Language:CSS 1.1%Language:HTML 0.2%