This is a simple HOWTO for setting up and running simple ember-cli application. If any of step below does not work for you, please leave comment under this gist: https://gist.github.com/chrmod/702fe8391e9d17dbc151
Check if nvm is installed in use space:
look for
~/.nvm/nvmsh
If not installed:
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | bashIf not in shell, add this to .bashrc or .zshrc:
[[ -s $HOME/.nvm/nvm.sh ]] && . $HOME/.nvm/nvm.shCheck if you have node installed by nvm:
which nodeIt should return something like this: /home/_username_/.nvm/v0.10.29/bin/node
If it points to system path like /usr/bin/node:
- make sure nvm is available in your shell (look at point #1 nvm)
- install node:
nvm install 0.10- select node version:
nvm use 0.10- make this version your default one:
nvm alias default 0.10Then open a new shell and check which node again.
Install bower:
npm install bower -gInstall ember-cli:
npm install ember-cli -gCreate new project:
ember new _project_name_Start development server:
cd _project_name_
ember serveIt is done, congratulations!