commit 297115154086383c5cd0b771b598930e49950d0e Author: Tim Caswell Date: Wed Jan 18 06:09:31 2012 +0100 Initial commit diff --git a/README.markdown b/README.markdown new file mode 100644 index 0000000..e69de29 diff --git a/app.js b/app.js new file mode 100644 index 0000000..b010653 --- /dev/null +++ b/app.js @@ -0,0 +1,4 @@ +var Stack = require('stack'); + +module.exports = Stack.compose( +); diff --git a/lib/db.js b/lib/db.js new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json new file mode 100644 index 0000000..2161edd --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "name": "wiki-contest", + "version": "0.0.0", + "author": "Tim Caswell ", + "private": true, + "dependencies": { + } +} diff --git a/pages/home.markdown b/pages/home.markdown new file mode 100644 index 0000000..e69de29 diff --git a/server.js b/server.js new file mode 100644 index 0000000..50df215 --- /dev/null +++ b/server.js @@ -0,0 +1,13 @@ +var Http = require('http'); +var Stack = require('stack'); +var Creationix = require('creationix'); +var App = require('./app'); + +var PORT = process.env.PORT || 8080; + +Http.createServer(Stack( + Creationix.log(), + App +)).listen(PORT); +console.log("Server listening on http://localhost:%s/", PORT); +