forked from schuyler/mctc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Schuyler Erle
committed
Apr 7, 2009
0 parents
commit df10b1f
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
# vim: ai ts=4 sts=4 et sw=4 | ||
|
||
import sys, os | ||
sys.path.append(os.path.join(os.getcwd(),'lib')) | ||
|
||
import rapidsms | ||
|
||
if __name__ == "__main__": | ||
rapidsms.manager.start(sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# 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=webui,admin,echo,responder,tree,poll,httptester | ||
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.sqlite3 | ||
#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=/tmp/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. | ||
|
||
#[alpha] | ||
#beginning=yes | ||
#end=no | ||
|
||
# -- 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. | ||
|
||
[irc] | ||
nick=rapidsms-default | ||
#host= | ||
#port= | ||
#channels= | ||
|
||
#[spomc] | ||
#type=spomc | ||
#port=9000 | ||
|