Skip to content

Instantly share code, notes, and snippets.

@juliangruber
Created October 13, 2012 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliangruber/3884839 to your computer and use it in GitHub Desktop.
Save juliangruber/3884839 to your computer and use it in GitHub Desktop.
contre
var Contre = require('contre');
var http = require('http');
var contre = Contre({
from : __dirname + '/repos',
to : __dirname + '/static'
});
var contre = Contre({
repos : __dirname + '/repos',
releases : __dirname + '/static'
});
http.createServer(contre.handle()).listen(3000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment