lfapi

annotate config.js @ 0:ce6f95d23e1c

Initial checkin
author bsw
date Sat Sep 10 23:31:20 2011 +0200 (2011-09-10)
parents
children ef8aff2e0f67
rev   line source
bsw@0 1 // ==========================================================================
bsw@0 2 // configuration of lfapi
bsw@0 3 // --------------------------------------------------------------------------
bsw@0 4 // Please read this file carefully and adjust settings for your system
bsw@0 5 // --------------------------------------------------------------------------
bsw@0 6
bsw@0 7 // the interface address the service should bind to (0.0.0.0 for ALL)
bsw@0 8 exports.bind_address = '0.0.0.0';
bsw@0 9
bsw@0 10 // the port number the service should bind to (usually 80)
bsw@0 11 exports.bind_port = 25520;
bsw@0 12
bsw@0 13 // access level for not logged in users (may be 'full', 'pseudonym',
bsw@0 14 // 'anonymous', 'none' or 'devel')
bsw@0 15 // never set access level to 'devel' on a productive installation!
bsw@0 16 exports.public_access_level = 'full';
bsw@0 17
bsw@0 18 // connection string to access the LiquidFeedback Core database
bsw@0 19 exports.connectionString = 'pg://localhost/liquid_feedback';
bsw@0 20
bsw@0 21 // public base url (including trailing slash)
bsw@0 22 exports.public_url_path = 'http://lf.example.org/api/';
bsw@0 23
bsw@0 24 // mail server, email sender and subject settings
bsw@0 25 exports.mail = {
bsw@0 26 smtp_host: 'localhost',
bsw@0 27 smtp_port: '25',
bsw@0 28 smtp_ssl: false,
bsw@0 29 smtp_domain: 'localhost',
bsw@0 30 //smtp_authentication: 'login',
bsw@0 31 //smtp_username: 'username',
bsw@0 32 //smtp_password: 'password',
bsw@0 33 from: 'Sender name <senderaddress@example.org>',
bsw@0 34 subject_prefix: '[email subject prefix] '
bsw@0 35 };
bsw@0 36
bsw@0 37 exports.settings = {
bsw@0 38 result_row_limit: { max: 1001, default: 101 }
bsw@0 39 }

Impressum / About Us