<commit_before>var express = require('express');
var app = express();
var path = require('path');
var Firebase = require('firebase');
var async = require('async');
var db = new Firebase("https://hackschedule.firebaseio.com/schedules");

//var TROJAN = require('./lib/TROJAN');
var api = require('./lib/api');
var port = process.env.PORT || 8080;

app.use(require('express-promise')());
app.use('/', express.static(path.join(__dirname, 'public')));

app.get('/api/:method.:action', api);
app.get('/api/:method', api);

app.listen(port, function () {
  console.log('Example app listening on port '+port+'!');
});<commit_msg>deploy heroku<commit_after>var express = require('express');
var app = express();
var path = require('path');
var Firebase = require('firebase');
var async = require('async');
var db = new Firebase("https://hackschedule.firebaseio.com/schedules");

//var TROJAN = require('./lib/TROJAN');
var api = require('./lib/api');

app.set('port', (process.env.PORT || 5000));

app.use(require('express-promise')());
app.use('/', express.static(path.join(__dirname, 'public')));

app.get('/api/:method.:action', api);
app.get('/api/:method', api);

app.listen(app.get('port'), function () {
  console.log('RUNNING.');
});
{'fraction_non_alphanumeric': 0.23195458231954583, 'fraction_numerical': 0.006488240064882401, 'mean_word_length': 5.6702702702702705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3640470', 'n_tokens_mistral': 413, 'n_tokens_neox': 408, 'n_words': 85}