Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Extract PUSHER_URL out of NotificationsController and into environment variable #51

Open
ybakos opened this issue May 9, 2018 · 0 comments

Comments

@ybakos
Copy link
Member

ybakos commented May 9, 2018

Use the "dotenv" gem.
Create a .env file - this should not be in the repo.
Configure heroku staging and production, eg heroku config:add PUSHER_URL="https://..." -rproduction

Lastly, copy .env to .env.example that looks like:

PUSHER_URL="https://example.com"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant