The Crowd Reporting package runs a service that pulls posts from sources like Twitter and saves the posts as Reports. Other tools can then process the stored Reports, classifying, displaying, and so on.
Requires:
(On a Mac, the easiest way to install them is homebrew.)
-
Clone the project:
$ git clone [email protected]:HobokenCM/crowd-reporting.git $ cd crowd-reporting -
Create an
env.coffeefile in the project root that follows this template:module.exports = TWITTER_CONSUMER_KEY : '' TWITTER_CONSUMER_SECRET : '' TWITTER_ACCESS_TOKEN_KEY : '' TWITTER_ACCESS_TOKEN_SECRET : '' MONGODB_URL : 'mongodb://localhost:27017/sandy'The Twitter settings require registering as a developer and setting up an app. The MongoDB URL will work if
mongodis running using the defaults. Otherwise, replace it with the correct URL. -
Install the node dependencies using
npm:$ npm installThis will install the dependencies listed in
package.json. -
Start the Sources:
$ coffee app/launcher.coffee
Potential data sources:
- SMS
- News
- Other (manual report entry)