WARapidPro
Wassup Integration for RapidPro.
pip install -e '.[dev]'
docker run praekeltfoundation/rapidpro-engage:latest
Setting up the application
All environment variables for rapidpro-docker apply here.
Add warapidpro to EXTRA_INSTALLED_APPS in your environment variables.
You will also need at least 1 celery instance running. Use the command to run the worker: /venv/bin/celery --beat --app=temba worker --loglevel=INFO --queues=celery,msgs,flows,handler --max-tasks-per-child=10
Note: that you should give your web application between 1-2GB of RAM in order to avoid uWSGI worker failures.
Get a oAuth client id and a client secret from https://wassup.p16n.org/oauth/applications/ or create a new one at https://wassup.p16n.org/oauth/applications/. Client type should be confidential and Authorization grant type should be authorization code.
Make sure to setup the redirect uris correctly for your installation. These should be formatted as follows:
https://<your domain>/channels/claim/wad/ https://<your domain>/channels/claim/wag/
Environment Variables
WASSUP_AUTH_URL defaults to https://wassup.p16n.org
WASSUP_AUTH_CLIENT_ID as per above.
WASSUP_AUTH_CLIENT_SECRET as per above.
Metadata
Release files for warapidpro 1.2.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| warapidpro-1.2.19.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| warapidpro-1.2.19-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 29.3 kB
Release files / warapidpro-1.2.19.tar.gz
| Download URL | warapidpro-1.2.19.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41ca2c270722992816cbb0124d28b1b3e8d92a597443ba84b98bf0c8ec251e18
|
|
BLAKE2b-256 checksum How to use checksums |
3405a71f0559a9235bef99ccf26b3ea9a4f852f4050396a2a847ffab3ddb0d75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / warapidpro-1.2.19-py2-none-any.whl
| Download URL | warapidpro-1.2.19-py2-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
48b11f8e121cae32952a2161c3dd95f3fdef6d94ab053281eb4465d7edd82104
|
|
BLAKE2b-256 checksum How to use checksums |
1492eea5f8261da0e11673e1c8fe31364ffe5baec9017a81a54cb610d38de7ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |