Installing Yeoman 1.0

Tweet about this on TwitterShare on FacebookShare on LinkedInShare on Google+

Upgrade older version to 1.0

Uninstall existing Yeoman

Install 1.0

If you are using npm before 1.2.10, install bower manually. Check your version with “npm -v”.

Trying generator-mobile

The most exciting feature of 1.0 is mobile testing! The “generator-mobile” enables it.

Error… Same issue is posted in https://github.com/yeoman/generator-mobile/issues/10.
I will update this post as soon as I got the solution..

Yeoman generator-backbone

Tweet about this on TwitterShare on FacebookShare on LinkedInShare on Google+

For starting up backbone application, “generator-backbone” for Yeoman is the best way ever!

Install generator

https://github.com/yeoman/generator-backbone#readme

Scaffolding the app

Now you are ready!

Build with Grunt

The app is initially implemented with Grunt which enables you to build your app as the optimised.

Grunt for build

A command “grunt” runs build process where sass compiling, css, js are minified and so on.

There will be a folder called “dist” where all the optimised fils are located!
That is pretty cool!!

Grunt server

A command “grunt server” establishes a server with port :9000 for you to preview the site.
Additionally, this is the best function it provides, it observes the file update, which means once you made a change to one of the files, grunt automatically builds the sources!!!!!



Yeoman + Bower + RequireJS + BackboneJS

Tweet about this on TwitterShare on FacebookShare on LinkedInShare on Google+

Yeoman provides us scaffold function for various development.
Here introduces BackboneJS application with RequireJS.
Those packages are managed by Bower.

Install Yeoman

After installing Node.js, just run the following.

If you fail, please run it with sudo.

Install generator-requirejs

Setup project

Create scaffold

Seup BackboneJS

Now you have all the packages in a folder “bower_component”!