Created
July 18, 2013 04:35
-
-
Save davidklassen/6026746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express = require('express'); | |
var ejs = require('ejs-locals'); | |
var app = express(); | |
app.engine('ejs', ejs); | |
app.set('views', __dirname + '/views'); | |
app.set('view engine', 'ejs'); | |
require(__dirname + '/router')(app); | |
module.exports = app; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment