Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.42 KB

README.md

File metadata and controls

66 lines (49 loc) · 1.42 KB

together-video

An application that lets multiple people watch HTML5 video together.

Requirements

See requires.txt

Installation

Using pip

sudo pip install TogetherVideo

Configuration

Configuration is handled via a flask configuration file, which can be defined via the TV_SETTINGS environment variable. Here's the available configuration and its defaults:

app.config.update(
    CSRF_ENABLED = True,
    DEBUG = True,
    SECRET_KEY = 'development key',
    REQUIRE_AUTH = False,
    BACKEND = 'redis',
    REDIS = {
        'host': 'localhost',
        'port': 6379,
        'password': None,
        'db': 0
    },
    AUTH_BACKEND = 'openid',
    OPENID_FORCED_PROVIDER = 'https://www.google.com/accounts/o8/id',
    OPENID_PROVIDERS = {
        'google': 'https://www.google.com/accounts/o8/id'
    },
)

Development

This repo includes vagrant support, using salt as the provisioner. If you have vagrant installed, simply call:

vagrant up

When vagrant finishes provisioning the instance it'll be accessible at http://127.0.0.1:8080/tv. The vagrant instance is configured using uwsgi, so software changes will require a uwsgi restart via 'service uwsgi restart'.

Quick Usage

Execute: runserver.py

After executing it, it'll be running on port 8080.

If authentication is required, redis is necessary for openid sessions.