No description or website provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
Procfile
README.md
index.html
package.json
server.js
socket.io.js

README.md

nodejitsu-wss

Quick example app to show how to deploy a websocket app using wss:// on nodejitsu

Do it

  1. npm install
  2. edit package.json:
    "name": "<your app name>",
    "subdomain": "<your subdomain>",
    "version": "<your version>",
  1. edit index.html:
    io.connect('wss://<your subdomain>.nodejitsu.com');
  1. jitsu deploy

Test it

  1. sudo node server.js
  2. open http://localhost/
  3. click "connect"

It should show the messages in the console log, which means it communicated to your nodejitsu.com subdomain over wss://