A simple demo of using ejs and dustjs-linked template engines for your views in Express 3.x.
- http://embeddedjs.com/
- http://linkedin.github.com/dustjs/
- https://github.com/linkedin/dustjs/wiki/Dust-Tutorial
- http://nodejs.org/
- http://expressjs.com/
see package.json
git clone https://github.com/chovy/express-template-demo.git
cd express-template-demo/demo
npm install
node app.js
Edit the template_engine
variable in app.js to either 'dust' or 'ejs'.
Edit the hostname
variable in app.js to localhost or something else.
Start the app with 'node app.js'