O'Reilly logo

Ember.js Web Development with Ember CLI by Suchit Puri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building and deploying your Ember CLI application

In order to build your application to be deployed in the production environment, you will have to run the following command:

ember build --environment="production"

This will build the application for the production environment, and put the resulting files in the dist directory of your project. In order to build your project in a different location, you can specify the output path using --output-path flag, to specify the directory where you want to build the project.

Now the contents present in the dist directory can be deployed, as it is to your application server.

Ember CLI also makes it very easy to deploy your application to Heroku.

To deploy your application to Heroku, run the following command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required