Node.js powered frontend for wwstay
CSS JavaScript Python Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
routes
static
test
views
.gitignore
Makefile
README.md
app.js
config.rb
css_version.py
grunt.js
package.json

README.md

Our rocking website

Our awesome nodejs powered frontend

Dev setup

  • Install nodejs

  • Install compass (http://compass-style.org/install/)

     $ gem install compass
    
  • Install dependencies

     $ npm install
    
  • Whenever you add a new image to the sprite

     $ compass sprite "static/images/sprite/*.png" --force
     $ compass sprite "static/images/landing/*.png" --force
     $ compass sprite "static/images/team/*.png" --force
    
  • Tell compass to watch changes

     $ compass watch
    
  • Run server

     $ node app.js
    
  • Testing

     $ make test