forked from joewalnes/websocketd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request joewalnes#180 from adlerhsieh/patch-1
Improve formatting README for nodejs
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 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,13 @@ | ||
## Running the examples on Mac | ||
|
||
##### 1. Download | ||
|
||
[Install](https://github.com/joewalnes/websocketd/wiki/Download-and-install) websocketd and add it to your `PATH`. | ||
|
||
##### 2. Start a server: getter | ||
|
||
Run `websocketd --port=8080 --devconsole ./getter.js` and then go to `http://localhost:8080` to interact with it | ||
|
||
##### 3. Start a server: counter | ||
|
||
Run `websocketd --port=8080 ./counter.js` to start the server, then go to [examples/html](https://github.com/joewalnes/websocketd/tree/master/examples/html) directory and double click **count.html** to open in a browser |
This file was deleted.
Oops, something went wrong.