annotate config.js @ 5:ef8aff2e0f67
Replaced mailer by nodemailer for sending emails.HG:' are removed.
author |
bsw |
date |
Mon Oct 24 20:53:24 2011 +0200 (2011-10-24) |
parents |
ce6f95d23e1c |
children |
25aba6a34c44 |
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 from: 'Sender name <senderaddress@example.org>',
|
bsw@0
|
27 subject_prefix: '[email subject prefix] '
|
bsw@0
|
28 };
|
bsw@0
|
29
|
bsw@0
|
30 exports.settings = {
|
bsw@0
|
31 result_row_limit: { max: 1001, default: 101 }
|
bsw@0
|
32 }
|