4 Star 2 Fork 0

durban.zhang / node-rss-spider

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ecosystem.json5 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
durban.zhang 提交于 2015-06-10 12:11 . 添加屏幕
{
/**
* This is a sample configuration file for PM2
*/
/**
* Here we declare the apps that must be managed by PM2
* All options are listed here:
* https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#json-app-declaration
*
*/
apps : [
// First application
{
"name" : "Walkerfree Rss Spider",
"script" : "app.js",
"out_file" :"./log/out.log",
"error_file":"./log/error.log",
"env": {
"COMMON_VARIABLE": "true"
},
"env_production" : {
"NODE_ENV": "production"
}
}
],
/**
* PM2 help you to deploy apps over your servers
* For more help go to :
* https://github.com/Unitech/PM2/blob/master/ADVANCED_README.md#deployment-pm2--090
*/
deploy : {
production : {
user : "node",
host : "212.83.163.1",
ref : "origin/master",
repo : "git@github.com:repo.git",
path : "/var/www/production",
"post-deploy" : "pm2 startOrRestart ecosystem.json5 --env production"
},
dev : {
user : "node",
host : "212.83.163.1",
ref : "origin/master",
repo : "git@github.com:repo.git",
path : "/var/www/development",
"post-deploy" : "pm2 startOrRestart ecosystem.json5 --env dev",
env : {
NODE_ENV: "dev"
}
}
}
}
JavaScript
1
https://gitee.com/durban/node-rss-spider.git
git@gitee.com:durban/node-rss-spider.git
durban
node-rss-spider
node-rss-spider
master

搜索帮助