forked from rapidsms/rapidsms
-
Notifications
You must be signed in to change notification settings - Fork 1
/
rapidsms.ini
121 lines (103 loc) · 4.1 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8
#
# 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,scheduler,form,weltel
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=mysql
name=rapidsms_weltel
user=root
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']
[httptester]
host=localhost
port=8080
# -- 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=/
# USE_DJANGO_STATIC_SERVER=True
#[i18n]
# Settings for RapidSMS Internationalization
#
# At minimum, you should define 'default_language' and 'languages'.
# 'languages' specifies the supported languages. It is a comma-
# separated list of tuples where the first list in the tuple
# is the language code and the remainder are associated names/aliases.
# You can optionally specify web_languages and sms_languages
# if you want to support different languages in the web vs sms UI.
# web_languages and sms_languages override languages.
#
#default_language=fr
#languages=(fr,Français),(en,English)
#web_languages=(fr,Français),(en,English,Engrish)
#sms_languages=(fr,Français),(de,German),(en,English)