WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

EmberJS Installation


Ember CLI should be installed and ready for use on Epicodus computers. The following instructions are meant for installation and configuration on your own personal machine.

To install Ember CLI, you need to have the following dependencies −

To install Ember CLI on your personal device, you will first need to install:

  • Node.js
  • Bower
  • Watchman
  • Git − It is a open source version control system for tracking the changes made in the files. For more information, check the official website of git. Ember uses Git to manage its dependencies. Node.js and npm − Node.js is an open source, used for developing server side and networking applications. Ember CLI uses Node.js run time and npm to get the dependencies. Bower − It is used for managing the components such as HTML, CSS, JavaScript, image files etc and can be installed by using the npm.

  • Watchman − This optional dependency can be used to watch the files or directories and execute some actions when they change.

  • PhantomJS − This optional dependency can be used for running browser based unit tests to interact with web page.

    Installing Ember CLI

    Windows / Linux


    On Windows or Linux systems, download and install Node.js from the Node Website,

    After installing, confirm you have access to node and npm (node package manager, installed automatically with Node) commands, and the correct versions by checking the versions through the command line, as seen below. Node should should be 4.0.x or higher, npm should be 3.6.x or higher:

    $ node -v
    v6.2.0
    $ npm -v
    3.10.5

    Then, in your home directory, install bower using npm:

    $ npm install -g bower

    Finally, install ember-cli using npm:

    $ npm install -g ember-cli

    You can test that Ember is correctly installed by making an empty test project:

    $ ember new project-name

    The new command will automatically generate a project with the required Ember files and directories. Navigate to the top-level of this project in the command line:

    $ cd project-name

    And attempt to launch the Ember server:

    $ ember server

    Navigate to localhost:4200 in your browser. You should be greeted by a welcome page.