Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.
/ palava-portal Public archive

Front-end of palava.tv (in React)

License

Notifications You must be signed in to change notification settings

palavatv/palava-portal

Repository files navigation

palava | portal

palava.tv is simplistic video communication with your friends and colleagues from within your web browser. It is build on top of the WebRTC technology. No registration or browser plugin required.

See palavatv/palava for an overview of all parts of palava.tv.

The palava portal is the single-page web application which runs palava. It is built using the palava client, the React JavaScript library, and compiled for the web by Middleman.

This application is not part of the palava.tv stack, anymore

It was replaced by palavatv/palava-web.

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

After cloning this repo and in the new directory run:

$ bundle install

Make also sure that you also have install nodejs and run:

$ npm install

In another tab, start the PalavaMachine or SignalTower

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

Defaults

$ PALAVA_BASE_ADDRESS="localhost:4567" PALAVA_STUN_ADDRESS="stun:stun.palava.tv" PALAVA_RTC_ADDRESS="ws:localhost:4233" middleman

Use with palava.tv

$ PALAVA_BASE_ADDRESS="palava.tv" PALAVA_STUN_ADDRESS="stun:stun.palava.tv" PALAVA_RTC_ADDRESS="wss:machine.palava.tv" middleman

Credits

MIT License. Part of the palava project.

Copyright (C) 2014-2020 palava e. V.  [email protected]

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]