Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/groovecoder/nodejitsu-wss


https://github.com/groovecoder/nodejitsu-wss

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

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:

```javascript
"name": "",
"subdomain": "",
"version": "",
```
3. edit index.html:

```javascript
io.connect('wss://.nodejitsu.com');
```
4. 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://