Skip to content

Instantly share code, notes, and snippets.

@tinderfields
Last active December 26, 2015 09:49
Show Gist options
  • Save tinderfields/7131864 to your computer and use it in GitHub Desktop.
Save tinderfields/7131864 to your computer and use it in GitHub Desktop.
Create backbone handlebar app with yeoman
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