<commit_before>/*jslint node:true, sloppy:true, nomen:true */

var express = require('express'),
    conpa = require('conpa');

var app = express.createServer();

app.configure(function () {
    app.use(express.favicon(__dirname + '/favicon.ico'));
    app.use(express["static"].apply(null, [__dirname + '/public']));
    app.set('views', __dirname + '/views');
    app.set('view engine', 'jade');
    app.set('view options', {layout: false});
    app.use(express.bodyParser());
    app.use(express.errorHandler());
    app.use(express.cookieParser());
    app.use(express.session({
        secret: "no more secrets",
        cookie: {
            maxAge: 60000
        }
    }));
});

app.listen(process.env.PORT || 8001);

conpa.configure(app, express, {
    crm: {
        liveDomain: "x.y.z",
        liveUrl: "http://user1:pass1" +<commit_msg>Review server example.<commit_after>// Quick and dirty getting started
//
// - clone the repo
// - cd to the project folder
// - npm install express@3.5.1
// - cd to the example folder
// - node server_example.js
// - add three assets and you get the optimal portfolio

"use strict";

var express = require("express"),
    conpa = require('../lib/conpa');

var app = express();

app.configure(function () {
    app.use(express["static"](["../lib/public/ConPA"]));
    app.use(express.bodyParser());
    app.use(express.errorHandler());
    app.use(express.cookieParser());
});

app.listen(process.env.PORT || 8001);

conpa.configure(app, express, {
    crm: {
        liveDomain: "x.y.z",
        liveUrl: "http://user1:pass1" +
{'fraction_non_alphanumeric': 0.1865482233502538, 'fraction_numerical': 0.012690355329949238, 'mean_word_length': 3.1609498680738786, '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': '5800669', 'n_tokens_mistral': 527, 'n_tokens_neox': 512, 'n_words': 107}