<commit_before>/*jslint node: true*/
"use strict";

//Configuration parameters from argument line, environment and file
var nconf = require('nconf');
//Overrides for Appfog
if (process.env.VCAP_SERVICES) {
    console.log('Overriding values for AppFog');
    var env = JSON.parse(process.env.VCAP_SERVICES);
    var mongo = env['mongodb-1.8'][0].credentials;
    nconf.overrides({
        "server": {
            "port": process.env.VCAP_APP_PORT
        },
        "database": {
            "name": mongo.db,
            "host": mongo.hostname,
            "port": mongo.port,
            "username": mongo.username,
            "password": <PASSWORD>
        }
    });
}
//Usual pipeline
nconf.argv().env().file({ file: './config.json' });
module.exports = nconf;<commit_msg>Removed AppFog conf<commit_after>/*jslint node: true*/
"use strict";

//Configuration parameters from argument line, environment and file
var nconf = require('nconf');
//Usual pipeline
nconf.argv().env().file({ file: './config.json' });
module.exports = nconf;
{'fraction_non_alphanumeric': 0.15911282545805208, 'fraction_numerical': 0.0028929604628736743, 'mean_word_length': 2.9618320610687023, 'pattern_counts': {'":': 8, '<': 4, '<?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': '7503947', 'n_tokens_mistral': 328, 'n_tokens_neox': 327, 'n_words': 77}