Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8c3eee8
commit 172c764
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Configuration: | ||
edit stream.js and set your twitter username password to see twitter's stream. | ||
|
||
var username = 'twitter_username', //ie: 'chovy' | ||
password = 'twitter_password'; //ie: 'xxxxx' | ||
|
||
Go to last line and change your IP number to whatever IP you are serving from and port number if different than 8080, or you can use 'localhost' to test locally. | ||
|
||
}).listen(8080, "192.168.1.1"); | ||
|
||
You may need to install some missing modules with npm. http://npmjs.org/ | ||
|
||
Once npm is installed, you can install the missing modules with: | ||
$ npm install <module-name> | ||
$ npm install json-line-protocol | ||
|
||
Startup: | ||
$ node stream.js |