You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Having troubles to get env.sh working. Settings works as expected #157
in my app/server/smtp.coffee I put this lines of code
Meteor.startup->if (Meteor.isServer)
console.log(process.env.VALUE_FROM_ENV) # THIS IS NOT WORKING (undefined)console.log(Meteor.settings.VALUE_FROM_SETTINGS) # this is working as expected
I simply started my app with iron run or ìron which outputs the following into the console:
> meteor run --settings /Users/me/Meteor/meteor_template/config/development/settings.json
[[[[[ ~/Meteor/meteor_template/app ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
I20150616-17:04:30.279(2)? env_value
I20150616-17:04:30.280(2)? undefined
Activity
exocode commentedon Jul 27, 2015
sorry for bumping...
chrisbutler commentedon Aug 18, 2015
@mediatainment i'm seeing this also. going to take a look