Created
July 9, 2016 14:42
-
-
Save evanjmg/4a482aef7e0422d06ceedb4ac9fcc0b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add pusher to your GemFile | |
gem 'pusher' | |
# then in create a config/initializers/pusher.rb | |
require 'pusher' | |
Pusher.logger = Rails.logger | |
Pusher.encrypted = true | |
Pusher.app_id = ENV['PUSHER_APP_ID'] | |
Pusher.key = ENV['PUSHER_KEY'] | |
Pusher.secret = ENV['PUSHER_SECRET'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment