Skip to content

vv01f/palava-portal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 installed. Clone this repo and in the 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

Credits

MIT License. Part of the palava project.

Copyright (C) 2013 Jan Lelis       [email protected]
Copyright (C) 2013 Marius Melzer   [email protected]
Copyright (C) 2013 Stephan Thamm   [email protected]
Copyright (C) 2013 Kilian Ulbrich  [email protected]

About

AngularJS Application doing WebRTC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published