- Install RVM: http://rvm.io/
- Install node.js and npm: http://nodejs.org/download/
- Clone repo
cd ./repo-name
bundle install
sudo npm install -g yo grunt-cli bower
sudo npm install -g generator-angular generator-karma
sudo npm install
bower install
grunt serve
(start dev server)grunt test
(start tests)grunt
(build project in ./dist/)
- Jade
- CoffeeScript, ru
- SASS
- Bootstrap 3 and directives for angular
- [Compass] (http://compass-style.org/reference/compass/) and alternative documentation
- AweSome font
- Select2 and directives for angular
Add elements with scaffolding: https://github.com/yeoman/generator-angular/blob/master/readme.md
app/styles/main.sass
includes bootstrap with configuration, modules and plugins css files
_bootstrap_variables.sass
includes all bootstrap variables.
_bootstrap_extend.sass
for extend bootstrap.
Add files beginning underscore for every modules. For example _users.sass
. In main.sass
add @import "users"
Use Compass for creating cross-browser CSS +border-radius(12px)
or +transition( top 0.3s ease-out, background .9s .5s ease-out )
Add *.coffee
file in app/scripts
.
Add string script(src='scripts/*.js')
under // build:js({.tmp,app}) scripts/app.js
in index.jade
Controllers path app/scripts/controllers
, directives path app/scripts/directives
etc
Use Jade HTML pre-processor.
Create main markup in app/views/markup.jade
and part of page save in app/views/markup/
.
For example, you created file app/views/markup/index.jade
.
You can see it by link http://127.0.0.1:9000/#/markup/index
Add Awesome icon <i class="fa fa-camera-retro"></i>
###OTHER BOWER COMPONENT