Where to put settings for Plugin


(Marc) #1

I installed this OAuthPlugin discourse-meteor/plugin.rb at master · discourse/discourse-meteor · GitHub which uses the following lines:

:client_id => GlobalSetting.meteor_client_id,
:client_secret => GlobalSetting.meteor_client_secret,

If I try to run ./launcher rebuild app I got the error that meteor_client_id couldn’t be found. Where can I set these values?


(Rafael dos Santos Silva) #2

They should be set a env variables, like DISCOURSE_METEOR_CLIENT_ID=foo. You can set env variables on the env area on the app.yml.


(Marc) #3

Thank you, I forgot the DISCOURSE_ prefix.