<commit_before>#
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all
# environment configuration will live in environment variables. This file
# simply lays out all of those environment variables with sensible defaults
# for development.
#

module.exports =
  NODE_ENV: "development"
  PORT: 4000
  API_URL: "http://api.are.na/v2"
  # API_URL: "http://arenaprototyperefactorb843.ninefold-apps.com/v3"
  # API_URL: "http://localhost:3000/v2"
  PUSHER_KEY: '19beda1f7e2ca403abab'
  S3_KEY: null
  S3_SECRET: null
  SESSION_SECRET: 'change-me'
  SESSION_COOKIE_MAX_AGE: 31536000000
  SESSION_COOKIE_KEY: 'arena.session'
  COOKIE_DOMAIN: null
  ASSET_PATH: '/assets/'
  IMAGE_PATH: '/images/'
  REDIS_URL: null

# Override any values with env variables if they exist
for key, val of module.exports
  val = (process.env[key] or val)
  module.exports[key] = try JSON.parse(val) catch then val<commit_msg>update session var<commit_after>#
# Using ["The Twelve-Factor App"](http://12factor.net/) as a reference all
# environment configuration will live in environment variables. This file
# simply lays out all of those environment variables with sensible defaults
# for development.
#

module.exports =
  NODE_ENV: "development"
  PORT: 4000
  API_URL: "http://api.are.na/v2"
  # API_URL: "http://arenaprototyperefactorb843.ninefold-apps.com/v3"
  # API_URL: "http://localhost:3000/v2"
  PUSHER_KEY: '19beda1f7e2ca403abab'
  S3_KEY: null
  S3_SECRET: null
  SESSION_SECRET: 'Ar3nAS3SS1on'
  SESSION_COOKIE_MAX_AGE: 31536000000
  SESSION_COOKIE_KEY: 'arena.session'
  COOKIE_DOMAIN: null
  ASSET_PATH: '/assets/'
  IMAGE_PATH: '/images/'
  REDIS_URL: null

# Override any values with env variables if they exist
for key, val of module.exports
  val = (process.env[key] or val)
  module.exports[key] = try JSON.parse(val) catch then val
{'fraction_non_alphanumeric': 0.10756756756756757, 'fraction_numerical': 0.04162162162162162, 'mean_word_length': 4.609090909090909, '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': '52120', 'n_tokens_mistral': 720, 'n_tokens_neox': 653, 'n_words': 173}