Skip to content

Instantly share code, notes, and snippets.

@alemohamad
Created January 29, 2015 05:21
Show Gist options
  • Save alemohamad/8249969192fd7a88a67f to your computer and use it in GitHub Desktop.
Save alemohamad/8249969192fd7a88a67f to your computer and use it in GitHub Desktop.

YEOMAN

YEOMAN is the web's scaffolding tool for modern webapps.

Install NodeJS

Go to http://nodejs.org/ and download the installer.
Then to verify that NodeJS is installed, write the following:

$ node -v

Install YEOMAN with NodeJS

$ npm install -g yo
  • Also install webapp
$ npm install -g generator-webapp

Create a web project

$ yo

With this, a list of generators will appear. We have to choose Run the Webapp generator.

We can choose some specifics with the spacebar, and then the web project is created.

Start the local server

$ grunt serve

Here we should use the Chrome Extension LiveReload.

Build the project to share it to the world

$ grunt build

We can download the Bower dependencies

$ bower install

Video tutorial

https://www.youtube.com/watch?v=gKiaLSJW5xI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment