App ready for use with connected in the same time AngularJS, Bootstrap 3.3, Haml, Sass, Coffeescript, and with tests in Karma
##Assumptions##
brew
nodejs
chrome
ruby -- uses the haml gem at compile time, and also compass
Clone project
Make sure brew is current:
brew update
And same for nodejs
brew upgrade node
Install dependencies:
bundle
npm install
bower install
grunt test
Launch the server:
grunt server
Open web on localhost:9000
test all
grunt karma
unit testing:
grunt karma:unit
e2e testing:
grunt karma:e2e
grunt test
Install yeoman:
npm install -g yo grunt-cli bower
Install gems(if you want, you can use rvm):
gem install haml
gem install sass
gem install compass
Try run tests and server. If it's still no working paste this in terminal:
npm install -g grunt-cli
npm install grunt-contrib-connect --save-dev
npm install grunt-contrib-watch --save-dev
npm install -g coffee-script
npm install grunt-contrib-coffee --save-dev
npm install grunt-contrib-sass --save-dev
npm install grunt-contrib-clean --save-dev
npm install grunt-contrib-haml --save-dev
##When you have problems##
- Don't have Bower? Paste in terminal:
npm config set prefix /usr/local
npm install -g bower
2. No find Grunt? Paste:
npm install -g grunt-cli
- No find compass? Install ruby, sass and compass (if you want, you can use rvm). Read about this problem.
gem install sass
gem install compass
4. No find haml files:
npm install grunt-haml