<commit_before>express = require 'express'
Q = require 'q'

db = require './lib/db'
middleware = require './lib/middleware'
appHook = require './app/'

app = express()

Q.fcall () ->
  console.log 'Bill.im server starting up'
.then db.init
.then middleware.bind null, app
.then appHook.bind null, app
.then () ->
  app.listen 8000, () ->
    throw err if err?
    console.log "Listening at port #{8000}"
.done()<commit_msg>Fix project name<commit_after>express = require 'express'
Q = require 'q'

db = require './lib/db'
middleware = require './lib/middleware'
appHook = require './app/'

app = express()

Q.fcall () ->
  console.log 'Familing server starting up'
.then db.init
.then middleware.bind null, app
.then appHook.bind null, app
.then () ->
  app.listen 8000, () ->
    throw err if err?
    console.log "Listening at port #{8000}"
.done()
{'fraction_non_alphanumeric': 0.1588235294117647, 'fraction_numerical': 0.018823529411764704, 'mean_word_length': 3.3418367346938775, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '7266206', 'n_tokens_mistral': 299, 'n_tokens_neox': 284, 'n_words': 93}