{"size": 259, "ext": "js", "max_stars_repo_path": "bin/server.js", "max_stars_repo_name": "dzh1104/server-summary", "max_stars_repo_stars_event_min_datetime": "2017-11-23T07:50:21.000Z", "max_stars_repo_stars_event_max_datetime": "2018-03-07T06:37:33.000Z", "max_issues_repo_path": "bin/server.js", "max_issues_repo_name": "dzh1104/server-summary", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "bin/server.js", "max_forks_repo_name": "dzh1104/server-summary", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 7, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.5833333333, "max_line_length": 63, "alphanum_fraction": 0.6409266409}
#!/usr/bin/env node

'use strict';
const config = require('../app/config');

// 在启动文件 设置全局的promise
global.Promise = require('bluebird'); 

require('../app/index').listen(config.port, () => {
    console.log(`server is running at port ${config.port}...`);
});
