Tuesday, 25 November 2014

Yeoman Setup

Fresh Installation of Yeoman...

1. Download Node.js from http://nodejs.org/ , install and add to path

2. Download GIT from http://git-scm.com/, install  and add to path

3. configure git using command : git config --global url."https://".insteadOf git://

4. Download Ruby from https://www.ruby-lang.org/en/, install  and add to path

5. Install sass using this command: gem install sass

6. Install compass using this command : gem install compass.


7. Install generators using these commands
  --> npm install -g yo
  --> npm install -g grunt-cli
  -->  npm install -g bower
  --> npm install -g generator-webapp

8. Create a folder, go into it and run command: yo angular Appname

9. Once step 8 is done run command: grunt serve (grunt server)

If already Installed:

1. Configure git using command : git config --global url."https://".insteadOf git://

2. Run commands to clean npm and bower
  ---> npm cache clean
  ---> bower cache clean

3. Run commands to uninstall Compass and sass
  ---> gem uninstall compass
  ---> gem uninstall sass

4. Run commands to install sass and compass the following versions
  ---> gem install sass
  ---> gem install compass --version

5. Install generators using these commands
  --> npm install -g yo
  --> npm install -g grunt-cli
  --> npm install -g bower
  --> npm install -g generator-webapp

6. Create a folder, go into it and run command: yo angular Appname

7. Once step 6 is done run command: grunt serve (grunt server)

1 comment: