当我推送我的etherpad代码时,它说
[31m[2012-11-03 15:14:00.102] [ERROR] 控制台 - [39mThere was an error processing your settings.json file: process is not defined
这个关键代码在下面
/*
This file must be valid JSON. But comments are allowed
Please edit settings.json, not settings.json.template
*/
{
//Ip and port which etherpad should bind at
"ip": process.env.VCAP_APP_HOST,
"port" : process.env.VCAP_APP_POR,
//The Type of the database. You can choose between dirty, postgres, sqlite and mysql
//You shouldn't use "dirty" for for anything else than testing or development
/*"dbType" : "dirty",*/
//the database specific settings
/*"dbSettings" : {
"filename" : "var/dirty.db"
},*/
/* An Example of MySQL Configuration */
"dbType" : "mysql",
"dbSettings" : {
"user" : process.env.VCAP_SERVICES["etherpadDB"][0]["credentials"]["user"],
"host" : process.env.VCAP_SERVICES["etherpadDB"][0]["host"],
"password": process.env.VCAP_SERVICES["etherpadDB"][0]["password"],
"database": process.env.VCAP_SERVICES["etherpadDB"][0]["name"]
},
}