Skip to content
Boilerplate code for rocking fresh Node projects with Express 3.0, Jade, development & production environments, and asset management for compiling, concatenating and minifying less and javascript files.
Find file
Pull request Compare This branch is 2 commits behind KingScooty:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
public
routes
settings
views
.gitignore
README.md
app.js
bootstrap.js
package.json

README.md

Node Express 3.0 HTML5 Boilerplate

Introduction

Boilerplate code for rocking fresh Node projects with Express 3.0, Jade, and asset management for compiling, concatenating and minifying less and javascript files.

Two development environments: development and production. Assets are concatenated, minified, hashed and cached in production and the Jade template files are updated in accordance.

Requirements

This project uses a number of bits and bobs:

  • Node.js
  • Express Lightweight framework for Node
  • Jade Node templating language (bit like Haml)
  • Less Node dynamic css language.
  • Connect Assets A Rails 3.1-style asset pipeline for Node.js

Install

Install dependencies:

$ npm install -d

Run the app in development mode:

$ node app.js

To switch the environment to production, you can set the NODE_ENV environment variable:

$ NODE_ENV=production node app.js

License

Node Express 3.0 HTML5 Boilerplate is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.

Copyright 2012, Scotty Vernon // Wildflame Studios

Something went wrong with that request. Please try again.