Skip to content

Commit

Permalink
Changes to nodejs examples README (joewalnes#344)
Browse files Browse the repository at this point in the history
Switched to better node launch command.
  • Loading branch information
volkovmqx authored and asergeyev committed Jan 30, 2019
1 parent 357e724 commit 1489af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

##### 2. Start a server: getter

Run `websocketd --port=8080 --devconsole ./getter.js` and then go to `http://localhost:8080` to interact with it
Run `websocketd --port=8080 --devconsole node greeter.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
Run `websocketd --port=8080 node count.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

0 comments on commit 1489af1

Please sign in to comment.