forked from mberg/rapidsms2
-
Notifications
You must be signed in to change notification settings - Fork 5
/
rapidsms.ini
96 lines (81 loc) · 3.29 KB
/
rapidsms.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# RapidSMS configuration file.
# -- RAPIDSMS
#
# The main configuration of the RapidSMS server. It contains a list of
# apps and backends to run, which can be names of app classes, or (in the
# case of multiple apps or backends of the same type) names for apps of
# the same type (see APPS and BACKENDS sections below).
#
# apps=[app1,app2,app3,...] * comma-separated list of apps to load
# backends=[backend1,backend2,...] * comma-separated list of backends to load
[rapidsms]
apps=webapp,ajax,admin,patterns,reporters,locations,messaging,httptester,logger,echo
backends=http
# -- DATABASE
#
# Database configuration info.
#
# engine={sqlite3,mysql,postgresql,oracle,postgresql_psycopg2} * defaults to sqlite3
# name=<database-name>
# user=<database-user> * defaults to root
# password=<database-password> * defaults to empty string
# host=<datbase-host> * defaults to localhost (empty string)
# port=<database-port> * not used for sqlite3
[database]
engine=sqlite3
name=rapidsms.db
#user=
#password=
#host=
#port=
# -- LOG
#
# Configure the built-in log module of RapidSMS.
#
# level={debug,info,warning,error,critical} * defaults to debug
# file=<full-path-to-log-file> * defaults to /tmp/rapidsms.log
[log]
level=debug
file=rapidsms.log
# -- APPS
#
# In this area you can define configurations for individual applications. The app
# must be listed under the section [rapidsms] in "apps". If no configuration is
# listed for your app it will use the default parameters. However, if you wish to
# run two apps of the same type, you MUST define configure them explicitly here.
[httptester]
host=localhost
port=8080
[webapp]
# define permissions for anonymous (not logged-in) users.
# tabs can be displayed on the dashboard so that visitors will
# know that more functionality exists and that they need login creds to access them
# BUT we are able to keep things like 'reporters & groups', 'messaging', 'training',
# etc hidden from view
#
# otherwise django auth/permissions would only allow us to have all-or-none
# control of what anonymous users can see.
anon_perms = ['httptester.can_view']
# -- BACKENDS
#
# In this area you can define configurations for individual backends. The backend
# must be listed under the section [rapidsms] in "backends". If no configuration is
# listed for your backend it will use the default parameters. However, if you wish to
# run two backends of the same type, you MUST define configure them explicitly here.
[http]
host=localhost
port=8080
# -- DJANGO
#
# In this area you can define configuration options for django that would usually
# go into your settings.py file. There's no need to make the variables uppercase
# also do not specify strings by surrounding them with the quotes " or '. This
# is automatically taken care of before injecting it into django's core configuration
[django]
# An example of how you can specify a cache backend. Caching becomes necessary
# when you have views or sections that are expensive to generate. Please read
# http://docs.djangoproject.com/en/dev/topics/cache/
# for more information on how to use the caching capabilities of django.
#
# cache_backend=dummy:///
login_redirect_url=/