An application that lets multiple people watch HTML5 video together.
See requires.txt
sudo pip install TogetherVideo
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'
},
)
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'.
Execute: runserver.py
After executing it, it'll be running on port 8080.
If authentication is required, redis is necessary for openid sessions.