<commit_before>var express = require('express');
var app = express();
var server = require('http').Server(app);


// Choose your favorite view engine(s)
app.set('view engine', 'jade');

//---- Initialize Socket.io
var io = require('socket.io')(server);
require('decolar-scraper-server')(io);

//---- Mounting well-encapsulated application modules
app.use('/', require('index'));
app.use('/alarme', require('alarme'));

//---- Serve static content
app.use('/public', express.static(__dirname + '/public'));

// Run server
var PORT = process.env.PORT;
console.log('Running on port: ' + PORT);
server.listen(PORT);<commit_msg>Caso a porta não tenha sido expecificada pela Variavel de Ambiente usa a porta 5000.<commit_after>var express = require('express');
var app = express();
var server = require('http').Server(app);


// Choose your favorite view engine(s)
app.set('view engine', 'jade');

//---- Initialize Socket.io
var io = require('socket.io')(server);
require('decolar-scraper-server')(io);

//---- Mounting well-encapsulated application modules
app.use('/', require('index'));
app.use('/alarme', require('alarme'));

//---- Serve static content
app.use('/public', express.static(__dirname + '/public'));

// Run server
var PORT = process.env.PORT || 5000;
console.log('Running on port: ' + PORT);
server.listen(PORT);
{'fraction_non_alphanumeric': 0.19849056603773585, 'fraction_numerical': 0.0060377358490566035, 'mean_word_length': 4.765217391304348, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5574775', 'n_tokens_mistral': 420, 'n_tokens_neox': 402, 'n_words': 108}