Autoplay

    Create an Ember Project with the Ember-CLI

    Iheanyi EkechukwuIheanyi Ekechukwu

    We will learn how to install Ember-CLI and use it to create a new Ember project. We will also learn how to run the Ember project.

    emberEmber.js
    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Transcript

    Transcript

    00:00 To get started with Ember, we actually have to install the Ember CLI library. Let's start by running MPM install-g Ember CLI.

    00:13 After install, just run Ember-v and make sure it's the latest version which is 1.5 at the time of this recording. We can now create our project by running Ember new, hello Ember, press Enter, and the project will be finished. Now let's change to that directory with our project.

    00:38 If you run LS, we can see everything in the folder and see our various folders for the application. Let's run Ember server so we could see our actual application in the browser. You will see local host 4200. Let's check out our browser. You'll see welcome to Ember.

    01:07 Let's load up the actual Ember project and we're going to open up our application.hbs file. You'll be able to find that under the app folder, templates, and then application.hbs. We'll change "Welcome to Ember" to say "Hello Ember."

    Discuss

    Discuss