mcfgen
v1.1.0
Published
A Custom generator
Downloads
3
Readme
SCBT UI
This is a repository for storing the UI components for SCBT project. The following are the setup steps to setup.
Yeoman Installation - Windows
- Install Git https://git-scm.com/downloads
- Install Node https://git-scm.com/downloads
- Install Yo, Bower and Grunt-cli Run: npm install --global yo bower grunt-cli
- Check if yo, bower and grunt installation is successful Run: yo --version && bower --version && grunt --version
- Install webapp generator for Yo Run: npm install --global generator-webapp
- create app folder
- To make your app folder a Yo app run below code inside the app dir Run: yo
- Start the grunt server Run: grunt serve
Common Errors and workarounds
yo command not found? Sol: Add C:\Users\myusername\AppData\Roaming\npm to PATH in Windows environment variables, Restart cmd console and try.
Bower “Git not in the PATH” error? Sol: Add the Git cmd and bin path to your windows PATH environment variable. The Git cmd path will be unique on your machine, and something like ;%PROGRAMFILES(x86)%\Git\bin;%PROGRAMFILES(x86)%\Git\cmd
Unable to connect to github.com using git://github.com Sol: Git can use https:// instead of git://, so the solution is to set it to use https:// by default: git config --global url."https://".insteadOf git://