<commit_before>require('dotenv').config();
const nconf = require('nconf');

nconf.use('memory');
nconf.argv();
nconf.env();

/* istanbul ignore next */
switch (nconf.get('NODE_ENV')) {
case 'development':
  nconf.set('DATABASE_URL', 'postgres://finance:finance@localhost/finance_development');
  nconf.set('jwtPrivateKey', '<KEY>');
  break;
case 'test':
  nconf.set('DATABASE_URL', 'postgres://finance:finance@localhost/finance_test');
  nconf.set('jwtPrivateKey', '<KEY>');
  break;
case 'production':
  if (!nconf.get('DATABASE_URL')) {
    nconf.set('DATABASE_URL', 'postgres://finance:finance@localhost/finance_production');
  }
  if (!nconf.get('jwtPrivateKey')) {
    nconf.set('jwtPrivateKey', '<KEY>');
  }
  nconf.set('NODE_PORT', '8081');
  break;
default:
  break;
}
<commit_msg>[chore] Remove default production environment (#150)<commit_after>require('dotenv').config();
const nconf = require('nconf');

nconf.use('memory');
nconf.argv();
nconf.env();

/* istanbul ignore next */
switch (nconf.get('NODE_ENV')) {
case 'development':
  nconf.set('DATABASE_URL', 'postgres://finance:finance@localhost/finance_development');
  nconf.set('jwtPrivateKey', '<KEY>hB@MYmx5FgVLMRGmCs$p=cupWxb3%^R86hC@7W8j=97JkzYMK');
  break;
case 'test':
  nconf.set('DATABASE_URL', 'postgres://finance:finance@localhost/finance_test');
  nconf.set('jwtPrivateKey', '<KEY>');
  break;
default:
  break;
}

{'fraction_non_alphanumeric': 0.2027220630372493, 'fraction_numerical': 0.010744985673352435, 'mean_word_length': 6.633879781420765, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '7437394', 'n_tokens_mistral': 545, 'n_tokens_neox': 529, 'n_words': 74}