docbrown/docs/backend/pusher.md
Andrew Brown 30dcb23169 #2507 - refactor GitDocs documentation (#2595)
* #2507 - refactor GitDocs documentation

* #2507 - fix grammar and spelling errors
2019-04-29 10:08:22 -04:00

1.3 KiB

title
Pusher

Pusher - Real-Time Notification

Pusher is third party service being used to power the chat system. When both DEV.to members follow each other they have the ability to use chat and converse with each other.

In order to use the chat functionality within you development enviroment you will need to sign up for a free-tier Pusher account and retrieves keys. Then you'll need to provide those keys to the Rails application.

  1. Sign up or sign in to your Pusher account.

  2. Once signed in, fill in the prompt to create a new Pusher Channels app. pusher-1

  3. In your new Pusher Channels app, click the "App Keys" tab. pusher-2

  4. Change your keys accordingly (name of Pusher key -> name of our application key):

    app_id -> PUSHER_APP_ID
    key -> PUSHER_KEY
    secret -> PUSHER_SECRET
    cluster -> PUSHER_CLUSTER
    

    pusher-3

  5. Done.