Envy
Envy is a simple Ember CLI addon that loads environment variables
with dotenv so that you can
reference them inside of ember
commands.
Installation
ember install ember-cli-envy
Configuration (optional)
You can optionally configure dotenv
by place a configuration file at config/envy.js
that exports an options hash. The path is passed directly to dotenv.config
after normalizing the path
. For example
moduleexports = silent: true path: '.env.' + processenvDEPLOY_TARGET
Alternatives
If this addon doesn't do what you want please check out ember-cli-dotenv.