PEM-- / meteor-helper

Meteor.js under Atom.io
http://pem-musing.blogspot.fr/2014/07/meteorjs-from-within-atomio-full-stack.html
MIT License
50 stars 9 forks source link

Use environment variables from .bash_profile #43

Closed ianpogi5 closed 9 years ago

ianpogi5 commented 9 years ago

I use .bash_profile to define environment variables like VELOCITY=0.

How can I get this package to read it before launching meteor?

PEM-- commented 9 years ago

This package uses Atom's BufferedProcess to launch Meteor: https://github.com/PEM--/meteor-helper/blob/master/lib/meteor-helper-view.coffee#L280

Thus, if your environment variables are available within Atom, they should be transmitted to Meteor.

ianpogi5 commented 9 years ago

Ok I was able to resolve my problem by following this SO post: http://stackoverflow.com/questions/603785/environment-variables-in-mac-os-x

Thanks for pointing me to the right direction.

PEM-- commented 9 years ago

Happy users make happy developers :smile:

ianpogi5 commented 9 years ago

Very true!