hookflash / obsolete.opjs-demo

Open Peer JavaScript Demo
http://webrtc.hookflash.me/
14 stars 7 forks source link

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