Last active
December 15, 2015 08:19
-
-
Save leocosta/5229549 to your computer and use it in GitHub Desktop.
Configuring yeoman + angular generator + karma generator + phantomJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#configuring phantomJS | |
$ cd /usr/local | |
$ sudo git clone git://github.com/ariya/phantomjs.git && cd phantomjs | |
$ sudo ./build.sh | |
sudo ln -s /usr/local/phantomjs/bin/phantomjs /usr/local/bin/phantomjs | |
export PHANTOMJS_BIN=/usr/local/bin/phantomjs | |
#installing ruby + compass (recommended tools by running) | |
ruby install (see rvm installation at https://rvm.io/rvm/install/) | |
gem install compass | |
#installing grunt + yeoman + bower | |
npm install -g yo grunt-cli bower | |
#installing yeoman generators | |
npm install generator-angular generator-karma | |
# scaffold out a AngularJS project | |
yo angular | |
# installing default dependencies | |
npm install && bower install | |
# installing a dependency for your project from Bower | |
bower install angular-ui | |
# testing app | |
grunt test | |
# previewing app | |
grunt server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment