A tornado.py web app for syncing Decss presentations.
This is intended to be used as an asynchronous WebSocket server for Decss.
For help with running tornado under nginx, see http://stackoverflow.com/questions/14749655/setting-up-a-tornado-web-service-in-production-with-nginx-reverse-proxy. An example nginx virtual configuration is included in nginx-vhost.conf.example.
The following environment variables are required:
For the Twitter login to work, setup a new Twitter app.
DECSS_SYNC_TWITTER_API_KEY: set this to the Consumer Key from your new app
DECSS_SYNC_TWITTER_API_SECRET: set this to the Consumer Secret from your new app
A MySQL database is required. The schema.sql
file will setup the database schema.
DECSS_SYNC_DATABASE_HOST
DECSS_SYNC_DATABASE_NAME
DECSS_SYNC_DATABASE_USER
DECSS_SYNC_DATABASE_PASSWORD
DECSS_SYNC_COOKIE_SECRET: set this to a good psuedo-random string