From 8110524ff09aa15b8ec07521f4983231763a00bc Mon Sep 17 00:00:00 2001 From: Pablo Navarro Castillo Date: Sun, 8 Jun 2014 11:55:48 -0400 Subject: [PATCH] Bump the version number to 0.2.1 --- README.md | 18 ++++++++++++------ package.json | 2 +- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 89a9c27..bb70c73 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,22 @@ The dependencies on this project can be installed from the command line by typin $ npm install +## Running the Streaming Server + +Update the `chirp.js` file to use your credentials (be sure to keep the credentials secret) and run the streaming server: + + $ node chirp.js + +The server will connect to the `statuses/filter` endpoint and begin listening the port 9720 for socket.io connections. + ## Examples -To run the examples, execute the corresponding script in the terminal: +There are examples of using the Twitter Streaming API and the Socket.IO library. To run the examples, execute the corresponding script in the terminal: $ node 01-twitter-sample.js The third example requires to open the `socketio-example.html` with the browser. -- [1. Twitter Sample](01-twitter-sample.js) -- [2. Twitter Filtering](02-twitter-filter.js) -- 3. Socket.IO Example - - [Server](03-socketio-example.js) - - [Client](socketio-example.html) +- [1. Twitter Sample.](01-twitter-sample.js) +- [2. Twitter Filtering.](02-twitter-filter.js) +- 3. Socket.IO Example [server](03-socketio-example.js) and [client.](socketio-example.html) diff --git a/package.json b/package.json index 54fcbf0..23a181c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chirp-server", - "version": "0.2.0", + "version": "0.2.1", "description": "Twitter Streaming Server", "main": "README.md", "repository": {