EmberScreencast 52 - dotEnv

Опубликовано: 02 Июль 2026
на канале: EmberSchool
175
0

Originally published at EmberScreencasts.com on Jul 4, 2015. https://www.emberscreencasts.com/post...

dotEnv keeps your configuration secrets safe, and helps you keep a clean separation between different environments.

We'll look at using ember-cli-dotenv, as well as using the regular dotenv packages for situations where ember-cli-dotenv doesn't work.

Note: why dotEnv? This was originally part of a series on ember-cli-deploy (notice deploy.js). The rest of the series has been delayed due to a caching bug.

Links:
ember-cli-dotenv - https://github.com/fivetanley/ember-c...
dotenv - https://www.npmjs.com/package/dotenv

Want to learn Ember 2? Go to https://www.emberschool.com