{"size": 1011, "ext": "js", "max_stars_repo_path": "pm2.config.js", "max_stars_repo_name": "bookmansoft/gamecloud", "max_stars_repo_stars_event_min_datetime": "2018-11-08T03:59:41.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-05T15:48:29.000Z", "max_issues_repo_path": "pm2.config.js", "max_issues_repo_name": "bookmansoft/gamecloud", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "pm2.config.js", "max_forks_repo_name": "bookmansoft/gamecloud", "max_forks_repo_forks_event_min_datetime": "2018-11-20T01:36:58.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-14T15:56:53.000Z"}
{"max_stars_count": 8, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 28.0833333333, "max_line_length": 82, "alphanum_fraction": 0.4282888229}
let config = {
    /**
     * Application configuration section
     * http://pm2.keymetrics.io/docs/usage/application-declaration/
     */
    "apps" : [
        {
            "name"      : "Chick_IOS_1",
            "script"    : "facade/start.js",
            "cwd"         : "./",  // pm2运行目录相对main.js的路径
            //"out_file"   : "./logs/ios1/app-out.log",  // 普通日志路径
            "error_file" : "./logs/ios1/app-err.log",  // 错误日志路径
            "env": {
                "NODE_ENV": "production",
                "sys":{
                    "serverType": "IOS",
                    "serverId": 1,
                    "portal": true //指示该服务器兼任门户
                }
            }
        }
    ],

    deploy : {
      production : {
        user : 'node',
        host : '127.0.0.1',
        ref  : 'origin/master',
        repo : 'git@github.com:gamecloud.git',
        path : '',
        'post-deploy' : 'npm install && pm2 reload gameconfig.js --env production'
      }
    }
}

module.exports = config;