From the course: Ember.js Essential Training

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Configure an Ember.js application

Configure an Ember.js application - Ember.js Tutorial

From the course: Ember.js Essential Training

Configure an Ember.js application

- [Narrator] Ember has a pretty easy system to both configure your application between different environments as well as setup your application to provide more information to you in development. Let's see that now. To manage the configuration for you application, you'll typically start in the Config directory and the Environment file. Open the Config, environment.js file. Notice that this is already pre-populated for us with some features. We'll walk through what all this is and enable a few of the flags, so you can see them working. First, we have the code that defines our environment, including the name of our application. Bookmarker, we have the current environment that's passed in as an environment variable. In our particular case, we're in the development environment. On line seven, we have a baseURL, if you need your application to live at a specific route, such as store, or blog, this is where you could change the configuration to have your application be served from that…

Contents