Skip to content

Instantly share code, notes, and snippets.

@daneko
Last active December 14, 2015 10:59
Show Gist options
  • Save daneko/5076029 to your computer and use it in GitHub Desktop.
Save daneko/5076029 to your computer and use it in GitHub Desktop.
angularjs yeoman

node v10.22 (2013/12/16)

brew install node
brew install rbenv ruby-build rbenv-gemset

# see: brew info rbenv
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc.local
rbenv install -l
rbenv install 2.0.0-p353
rbenv rehash
cd /path/to/work
rbenv gemset create 2.0.0-p353 yeoman
echo yeoman > .rbenv-gemsets
gem install compass
rbenv rehash

npm install yo grunt bower --save-dev
npm install grunt-contrib-compass --save-dev
npm install generator-angular --save-dev
./node_modules/.bin/yo angular 
npm install
./node_modules/.bin/bower install angular-ui
./node_modules/.bin/bower install --dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment