Initial commit
This commit is contained in:
commit
2971151540
0
README.markdown
Normal file
0
README.markdown
Normal file
4
app.js
Normal file
4
app.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var Stack = require('stack');
|
||||||
|
|
||||||
|
module.exports = Stack.compose(
|
||||||
|
);
|
8
package.json
Normal file
8
package.json
Normal 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
0
pages/home.markdown
Normal file
13
server.js
Normal file
13
server.js
Normal 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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user