Skip to content

Instantly share code, notes, and snippets.

@eladb
Created June 23, 2012 16:16
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 eladb/2978873 to your computer and use it in GitHub Desktop.
Save eladb/2978873 to your computer and use it in GitHub Desktop.
mylittlepaas - hello world
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);
{
"author": "Elad Ben-Israel <elad.benisrael@gmail.com>",
"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