Created
June 23, 2012 16:16
-
-
Save eladb/2978873 to your computer and use it in GitHub Desktop.
mylittlepaas - hello world
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
http.createServer(function(req, res) { | |
res.end('Hello, little PaaS\n'); | |
}).listen(process.env.port || 5000); | |
console.log('My little PaaS started on port', process.env.port || 5000); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"author": "Elad Ben-Israel <[email protected]>", | |
"name": "mylittlepaas", | |
"description": "Root repository of my little PaaS", | |
"version": "0.0.0", | |
"repository": { | |
"type": "git", | |
"url": "git://github.com/eladb/mylittlepaas.git" | |
}, | |
"main": "app", | |
"engines": { | |
"node": "~0.6.10" | |
}, | |
"dependencies": {}, | |
"devDependencies": {}, | |
"optionalDependencies": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment