lfapi

view config.js @ 0:ce6f95d23e1c

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

Impressum / About Us