Yeoman Generator for iCrossing Framework
Prerequisites
You must have node/npm and bower installed before using the generator.
-
Install node http://nodejs.org/
-
Install bower globally using npm:
npm install -g bower
Usage
-
Install the generator globally (only once) using npm:
npm install -g generator-icf
-
Clone the "icf" library repo:
git clone git@github.com:iCrossingTech/icf.git
NOTE: The icf repo folder must be at the same level as your app project folder created in the next step.
-
Create a new folder and cd into it:
mkdir <dirname> && cd $_
-
Run
yo icf
This will generate the structure and automatically install all required node modules and bower components.
-
Run
grunt server
- This will start a node web server, open your default browser to the index page, and start watching for changes to all files. Changing a file will trigger "live reload".NOTE: To create a build just run
grunt
Options
-
--skip-install
Skips the automatic execution of
bower
andnpm
after scaffolding has finished. -
--test-framework=[framework]
Defaults to
mocha
. Can be switched for another supported testing framework likejasmine
.
icf Framework
icf Framework is a flexible, responsive CSS Framework, Powered by SASS and based on http://gumbyframework.com/. Create rapid and logical page layout and app prototypes with a flexible and responsive grid system and UI kit.
icf has a few dependencies. Big thank you to the innovative geniuses behind these awesome technologies.
- Sass - Nathan Weizenbaum
- Compass - Chris Eppstein
- Modular Scale - Scott Kellum
- jQuery
- Modernizr