<commit_before>// config serveur
var express		= require('express');
var morgan		= require('morgan');
var bodyParser	= require('body-parser');
var app			= express();
var mongoose	= require('mongoose');

var options = {
	user:process.env.USER_BDD,
	pass:<PASSWORD>.<PASSWORD>
};

mongoose.connect(process.env.BDD, options);

app.use(express.static(__dirname + '/public')); 		// set the static files location /public/img will be /img for users
app.use(morgan('dev'));
app.use(bodyParser()); 							// pull information from html in POST

require('./app/routes.js')(app);

app.listen(8080);

console.log("App listening on port 8080");<commit_msg>Fix bug Port<commit_after>// config serveur
var express		= require('express');
var morgan		= require('morgan');
var bodyParser	= require('body-parser');
var app			= express();
var mongoose	= require('mongoose');

//Laisse Heroku configurer le port
var port = process.env.PORT || 8080;
var options = {
	user:process.env.USER_BDD,
	pass:<PASSWORD>
};

mongoose.connect(process.env.BDD, options);

app.use(express.static(__dirname + '/public')); 		// set the static files location /public/img will be /img for users
app.use(morgan('dev'));
app.use(bodyParser()); 							// pull information from html in POST

require('./app/routes.js')(app);

app.listen(port);

console.log("App listening on port " + port);
{'fraction_non_alphanumeric': 0.16505576208178438, 'fraction_numerical': 0.008921933085501859, 'mean_word_length': 4.631799163179917, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3125086', 'n_tokens_mistral': 467, 'n_tokens_neox': 449, 'n_words': 114}