<commit_before>process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var httpPort = process.env.HAKSTRACE_WEB_PORT || 3000;

/*
var mongoose = require('./config/mongoose'),
	express = require('./config/express'),
	passport = require('./config/passport');
	*/

var mongoose = require('./config/mongoose'),
	express = require('./config/express');

var db = mongoose();	// 이게 먼저 되야됨. db 니깐
//var app = express(db);
var app = express(db);
var passport = passport();

app.listen(httpPort);
//module.exports = app;

console.log('Server running at http://localhost:%d/', httpPort);<commit_msg>add passport cofing -> require passport config missing.<commit_after>process.env.NODE_ENV = process.env.NODE_ENV || 'development';
var httpPort = process.env.HAKSTRACE_WEB_PORT || 3000;

/*
var mongoose = require('./config/mongoose'),
	express = require('./config/express'),
	passport = require('./config/passport');
	*/

var mongoose = require('./config/mongoose'),
	express = require('./config/express'),
	passport = require('./config/passport');

var db = mongoose();	// 이게 먼저 되야됨. db 니깐
//var app = express(db);
var app = express(db);
var passport = passport();

app.listen(httpPort);
//module.exports = app;

console.log('Server running at http://localhost:%d/', httpPort);
{'fraction_non_alphanumeric': 0.18396226415094338, 'fraction_numerical': 0.006289308176100629, 'mean_word_length': 4.607929515418502, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5464943', 'n_tokens_mistral': 436, 'n_tokens_neox': 438, 'n_words': 95}