basic support for cloudfoundry.

Add
 - Entry point server.js
 - Load port and mysql configuraion from env variable
 - Tunable polling duration
This commit is contained in:
Andrew Liu 2011-08-24 21:59:50 +08:00
parent 7e4bba0e31
commit 95f1992e4d
4 changed files with 44 additions and 1 deletions

5
server.js Normal file
View file

@ -0,0 +1,5 @@
// Entry point for etherpad running on cloudfoundry
var path = require('path')
process.chdir( path.join( process.cwd(), 'node'))
var s = require("./node/server")