Skip to content

dimagi/rapidsms-mach-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmach

Basic Mach backend for the RapidSMS project.

Usage

Add rmach to your Python path and setup the backend in your Django settings file. For example:

INSTALLED_BACKENDS = {
    "mach": {
        "ENGINE": "rmach.backend",
        'host': 'localhost', 'port': '8888', # used for spawned backend WSGI server
        'config': {
            'id': 'XXXX',
            'password': 'YYYYYYYY',
            'number': '(###) ###-####',
            'timeout': 8, # optional gateway timeout in seconds
        }
    },
}

Running Tests

To run the test suite you need to install django, rapidsms and django_nose. You can then run the test suite using `django-admin.py`:

django-admin.py test rmach --settings=test_settings

About

A backend for Mach Connectivity's API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages