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 with Guard-Shell

I’m enjoying like anybody else. Inspired by Ruby Koans with guard shell I set it up for my practicing. Please comment at my gist for any further suggestions. In the ~/exercism/ruby directory, add two files Guardfile and... Continue →