1.0.8 • Published 9 years ago
slush-angular-jkr v1.0.8
A Angular JS project
Get Started
To generate a new project:
npm install -g slush slush-angular-jkr
slush angular-jkr
After generate a new project
npm install
bower update
gulp
Run a webserver (open a new terminal tab):
gulp server
Watch changes (open a new terminal tab):
gulp watch
Test Server (open a new terminal tab):
gulp test
Building your project
Generate folder build
:
gulp build
Browsing:
gulp server-build
Requirements
- Ruby & Ruby on Rails (Language and powerfull framework)
- NodeJS (Javascript runtime server)
- Bower (Node module for manage dependencies)
- Gulp (Node module for task automation)
- Jade (Language extension for html)
- Sass (Language extension for css)
- Coffeescript (Language extension for js)
- Karma (testing runner)
- Jasmine (testing language)
Installing on Windows
Recommend to use Cmder instead Windows Command Line: http://cmder.net/
- Install Ruby on Rails and Utilities: http://www.railsinstaller.org/pt-BR
- Install Node: https://nodejs.org/en/
- Install Sass:
gem install sass
- Install Jade:
gem install jade
- Install All node modules:
npm install -g bower gulp karma jasmine coffee-script node-gyp
Installing on OSX
- Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install RVM:
brew install rvm
- Install Node:
brew install node
- Install GIT:
brew install git
- Install Ruby:
rmv install ruby 2.2.0
- Install Rails:
gem install rails
- Install Sass:
gem install sass
- Install Jade:
gem install jade
- Install All node modules:
npm install -g bower gulp karma jasmine coffee-script node-gyp