Last active
December 26, 2015 09:49
-
-
Save tinderfields/7131864 to your computer and use it in GitHub Desktop.
Create backbone handlebar app with yeoman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew update | |
brew install node | |
npm install -g yo | |
npm install -g generator-webapp | |
npm install -g generator-backbone | |
#If you are creating the app | |
mkdir appname && cd $_ | |
yo backbone --template-framework=handlebars appname | |
#If this is a fresh checkout | |
npm install & bower install | |
grunt server | |
#Generators | |
yo backbone:model blog | |
yo backbone:collection blog | |
yo backbone:router blog | |
yo backbone:view blog | |
#Localstorage | |
bower install -S backbone.localStorage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment