Open Peer JavaScript Demo
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
.dotcloud relocated demo from https://github.com/openpeer/opjs/tree/master/demo;… Jun 12, 2013
client dist build fixes Nov 7, 2013
server fixes to run on dev instance Nov 7, 2013
.dotcloudignore deploy fixes Jun 13, 2013
.gitignore
Makefile Local root privs needed on deploy of opsjsdemo - https://github.com/o… Dec 5, 2013
README.md
dotcloud.yml added rolodex and prepped for opjs integration Jun 13, 2013
package.json install fixes Jul 31, 2013
supervisord.conf autostart node process on exit Jun 24, 2013

README.md

Status: DEV

Open Peer JavaScript Demo

A comprehensive sample Open Peer browser client using the Open Peer SDK for JavaScript.

This project also incorporates:

Deployments:

NOTE: The opjs SDK and webrtc-shim are currently being integrated. This project is under heavy development.

Development

Install:

make install

Configure config.local.json (see Configuration below).

Run:

make run

Test:

make test

Production build:

make dist

Deployment

Deploy:

make deploy

First time deploy setup for dotCloud:

sudo easy_install pip && sudo pip install dotcloud
dotcloud setup

Initial dotCloud application setup:

dotcloud create <name>

Configure config.json (see Configuration below).

Configuration

{
    "options": {
        "hostname": "localhost",
        "REAL_IDENTITY_HOST": "provisioning-stable-dev.hookflash.me",
        "ROLODEX_BASE_URL": "http://localhost:8080",
        "IDENTITY_DOMAIN": "unstable.hookflash.me",
        "IDENTITY_HOST": "http://localhost:8080"
    },
    "papertrail": {  // Optional
        "host": "logs.papertrailapp.com",
        "port": <port>
    },
    "sendgrid": {  // Optional
        "username": "<sendgrid.com API username>",
        "password": "<sendgrid.com API password>"
    },
    "rolodex": {
        // See 'Configuration' at https://github.com/openpeer/rolodex
    }
}

NOTE: The rolodex configuration is included in the config above instead of placing it into its own file.

License

BSD-2-Clause