angular setup

$ npm install -g bower

$ npm cache clean
$ sudo npm install -g bower

download & install node over again

and update npm

$ sudo npm install npm -g

$ npm -v

$ node -v

now it’s working.

$ npm install -g bower

and, you don’t need bower in package.json dependencies.

$ bower install angular angular-resource angular-route angular-animate sass-bootstrap lodash jquery modernizr font-awesome --save
$ bower install angular-mocks --save-dev

# Install Karma:
$ npm install karma --save-dev

$ sudo npm install karma --save-dev

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

“Open up Xcode, and accept the new user agreement. This was happening because a new version of Xcode was downloaded and the new agreement was not accepted.”

$ sudo xcodebuild -license
$ sudo npm install karma --save-dev

# Install plugins that your project needs:
$ npm install karma-jasmine karma-chrome-launcher --save-dev

(why all sudo? anyway)

$ npm install -g karma-cli

jasmine & phantomjs

npm install -g phantomjs
npm install karma-jasmine --save-dev
npm install karma-phantomjs-launcher --save-dev

karma init karma.conf.js

karma config file:

frameworks: ['jasmine'],    
browsers: ['PhantomJS'],    
autoWatch: false,    
singleRun: true,    
# ...etc.   

Now read this

setup Rails ubuntu 14.04 LTS

what I tried ubuntu 14.04 LTS install / and update —after that open terminal ctl+alt T install git - at ubuntu software center (need git to install rbenv) $ git --version git version 1.9.1 install rbenv $ git clone... Continue →