Initial commit

This commit is contained in:
Tim Caswell 2012-01-18 06:09:31 +01:00
commit 2971151540
6 changed files with 25 additions and 0 deletions

0
README.markdown Normal file
View File

4
app.js Normal file
View File

@ -0,0 +1,4 @@
var Stack = require('stack');
module.exports = Stack.compose(
);

0
lib/db.js Normal file
View File

8
package.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "wiki-contest",
"version": "0.0.0",
"author": "Tim Caswell <tim@c9.io>",
"private": true,
"dependencies": {
}
}

0
pages/home.markdown Normal file
View File

13
server.js Normal file
View File

@ -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);