Skip to content

Instantly share code, notes, and snippets.

@ecto
Created January 24, 2011 22:52
Show Gist options
  • Save ecto/794155 to your computer and use it in GitHub Desktop.
Save ecto/794155 to your computer and use it in GitHub Desktop.
var express = require('express'),
app = express.createServer(),
redis = require('redis-node'),
db = redis.createClient();
app.configure(function(){
app.use(app.router);
app.use(express.staticProvider(__dirname + '/static'));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment