lfapi

diff config.js @ 0:ce6f95d23e1c

Initial checkin
author bsw
date Sat Sep 10 23:31:20 2011 +0200 (2011-09-10)
parents
children ef8aff2e0f67
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config.js	Sat Sep 10 23:31:20 2011 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +// ==========================================================================
     1.5 +// configuration of lfapi
     1.6 +// --------------------------------------------------------------------------
     1.7 +// Please read this file carefully and adjust settings for your system
     1.8 +// --------------------------------------------------------------------------
     1.9 +
    1.10 +// the interface address the service should bind to (0.0.0.0 for ALL)
    1.11 +exports.bind_address = '0.0.0.0';
    1.12 +
    1.13 +// the port number the service should bind to (usually 80)
    1.14 +exports.bind_port = 25520;
    1.15 +
    1.16 +// access level for not logged in users (may be 'full', 'pseudonym',
    1.17 +// 'anonymous', 'none' or 'devel')
    1.18 +// never set access level to 'devel' on a productive installation!
    1.19 +exports.public_access_level = 'full';
    1.20 +
    1.21 +// connection string to access the LiquidFeedback Core database
    1.22 +exports.connectionString = 'pg://localhost/liquid_feedback';
    1.23 +
    1.24 +// public base url (including trailing slash)
    1.25 +exports.public_url_path = 'http://lf.example.org/api/';
    1.26 +
    1.27 +// mail server, email sender and subject settings
    1.28 +exports.mail = {
    1.29 +  smtp_host:           'localhost',
    1.30 +  smtp_port:           '25',
    1.31 +  smtp_ssl:            false,
    1.32 +  smtp_domain:         'localhost',
    1.33 +  //smtp_authentication: 'login',
    1.34 +  //smtp_username:       'username',
    1.35 +  //smtp_password:       'password',
    1.36 +  from:                'Sender name <senderaddress@example.org>',
    1.37 +  subject_prefix:      '[email subject prefix] '
    1.38 +};
    1.39 +
    1.40 +exports.settings = {
    1.41 +  result_row_limit: { max: 1001, default: 101 }
    1.42 +}

Impressum / About Us