Resources

# If you don't have redis server already installed, # make sure to install that if you choose to use that as the backend sudo apt-get install redis-server

# config/cable.yml production: url: redis://localhost:6379 local: &local url: redis://localhost:6379 development: *local test: *local

# config/routes.rb mount ActionCable.server => "/cable"

# app/assets/javascripts/channels/index.coffee App.cable = ActionCable.createConsumer("/cable")

# config/environments/production config.action_cable.allowed_request_origins = ["https://gorails.com"]