Git Product home page Git Product logo

refocus-real-time's Introduction

refocus-real-time

Coverage Status

Configure to push to heroku:
heroku git:remote -a rf-rt-spike
Commit and push changes to heroku:
git commit -am "..."
git push heroku master
Attach the redis pubsub addons

Attach the redis pubsub addons from the back-end api app into this app, e.g. if the redis addon is named "redis-randomword-00000" in the back-end api app, and if the real-time app is "my-app-name" then this command will attach that redis pubsub instance to this application:

heroku addons:attach redis-randomword-00000 --app my-app-name

Config Vars in the Real-Time Application

  • IP_WHITELIST_SERVICE: the url of the whitelisting app
  • PORT: the port to run the socket.io server on
  • REDIS_PUBSUB_BOTS: the name of the environment variable that contains the url of the redis instance used for bot pubsub
  • REDIS_PUBSUB_PERSPECTIVES: a comma-separated list of environment variables that contain the urls of the redis instances used for perspective pubsub
  • REFOCUS_API_URL: the url of the api app
  • REFOCUS_API_TOKEN: must be a valid token with API access to retrieve list of perspectives from the back-end api app
  • SECRET: must be the same as the one used by the back-end API application
  • TOKEN_AUTH_TIMEOUT: the time in ms to wait for the client to send a token before disconnecting

Toggles ("true" to enable, disabled by default)

  • USE_OLD_NAMESPACE_FORMAT: accept connections from clients using the old namespace format, with the filter details in the namespace itself
  • USE_NEW_NAMESPACE_FORMAT: accept connections from clients using the new namespace format, with the filter details in the "id" query param

refocus-real-time's People

Contributors

guptad2 avatar iamigo avatar jgraff2 avatar pallavi2209 avatar svc-scm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.