Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ralyodio/express-template-demo
Demo of using template engines with express.js and node.js
https://github.com/ralyodio/express-template-demo
Last synced: 2 months ago
JSON representation
Demo of using template engines with express.js and node.js
- Host: GitHub
- URL: https://github.com/ralyodio/express-template-demo
- Owner: ralyodio
- Created: 2012-09-20T04:32:25.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-11T20:14:00.000Z (about 10 years ago)
- Last Synced: 2024-10-04T11:34:46.575Z (3 months ago)
- Language: JavaScript
- Size: 2.3 MB
- Stars: 77
- Watchers: 7
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Express Template Demo
===========A simple demo of using ejs and dustjs-linked template engines for your views in Express 3.x.
More info
----* http://embeddedjs.com/
* http://linkedin.github.com/dustjs/
* https://github.com/linkedin/dustjs/wiki/Dust-Tutorial
* http://nodejs.org/
* http://expressjs.com/Dependencies
----see package.json
Installing app
----git clone https://github.com/chovy/express-template-demo.git
cd express-template-demo/demo
npm install
node app.jsEdit 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'