<commit_before>var Hapi = require("hapi");
var Bell = require("bell");
var Cookie = require("hapi-auth-cookie");
var Path = require("path");

var Routes = require('./routes/routes');
var Config = require('./config');

var server = new Hapi.Server({
	connections: {
		routes: {
			files: {
				relativeTo: Path.join(__dirname, "../public")
			}
		}
	}
});

//Number for heroku
server.connection({
	port: Number(process.env.PORT) || 8080
});

server.views({
	engines: {
		jade: require("jade")
	},
	relativeTo: __dirname,
	path: "./views"
});

server.register([Bell, Cookie], function(err) {

	server.auth.strategy("facebook", "bell", {
		provider: "facebook",
		isSecure: false,
		password: <PASSWORD>.facebook.password,
		clientId: Config.facebook.clientId,<commit_msg>error call for bell<commit_after>var Hapi = require("hapi");
var Bell = require("bell");
var Cookie = require("hapi-auth-cookie");
var Path = require("path");

var Routes = require('./routes/routes');
var Config = require('./config');

var server = new Hapi.Server({
	connections: {
		routes: {
			files: {
				relativeTo: Path.join(__dirname, "../public")
			}
		}
	}
});

//Number for heroku
server.connection({
	port: Number(process.env.PORT) || 8080
});

server.views({
	engines: {
		jade: require("jade")
	},
	relativeTo: __dirname,
	path: "./views"
});

server.register([Bell, Cookie], function(err) {

	if (err) {
		console.error(err);
		return process.exit(1);
	}

	server.auth.strategy("facebook", "bell", {
		provider: "facebook",
		isSecure: false,
		password: <PASSWORD>.facebook.password,
		clientId: Config.facebook.clientId,
{'fraction_non_alphanumeric': 0.1865671641791045, 'fraction_numerical': 0.005597014925373134, 'mean_word_length': 4.327814569536423, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7607227', 'n_tokens_mistral': 592, 'n_tokens_neox': 550, 'n_words': 119}