Jaehdawg / palava-portal

AngularJS Application doing WebRTC

Home Page:https://palava.tv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Palava Portal

The palava portal is the single-page web application that runs palava.tv. It is built using the following technologies:

See our blog post for detailed instructions on how to setup the portal together with the machine on an ubuntu.

Portal Setup

Clone this directory and checkout the submodule:

$ git clone https://github.com/palavatv/palava-portal
$ cd palava-portal
$ git submodule init
$ git submodule update

Make sure you have Ruby and Bundler installed, maybe you also need to export the PATH manually

$ ruby -v
$ bundle check

after cloning this repo and in the new directory run:

$ bundle install

In another tab, start the PalavaMachine.

Start the middleman development server on http://localhost:4567

$ middleman

In case '$ middleman' leads to errors due to some missing components, try running '$ bundle update' and then re-run middleman.

You can build a static version of the page using:

$ middleman build

Configure using Environment Variables

You can set the addresses of the rtc and stun server via environment variables. The defaults are a local rtc server 'ws:localhost:4233' and the palava stun server 'stun:stun.palava.tv'. Use ws: for unsecured and wss: for ssl secured websocket connections.

$ export PALAVA_RTC_ADDRESS="ws:some_ip:some_port"
$ export PALAVA_STUN_ADDRESS="stun:some_ip:some_port"
$ export PALAVA_BASE_ADDRESS="https://your.domain.com"
$ middleman

Issues

Please report issues to the palava Repository.

Credits

MIT License. Part of the palava project.

Copyright (C) 2013 Jan Lelis       jan@signaling.io
Copyright (C) 2013 Marius Melzer   marius@signaling.io
Copyright (C) 2013 Stephan Thamm   thammi@chaossource.net
Copyright (C) 2013 Kilian Ulbrich  kilian@innovailable.eu

About

AngularJS Application doing WebRTC

https://palava.tv

License:MIT License


Languages

Language:CSS 67.3%Language:JavaScript 25.8%Language:CoffeeScript 3.1%Language:Ruby 2.1%Language:Makefile 1.7%