warapidpro
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file warapidpro-1.2.18.tar.gz
.
File metadata
- Download URL: warapidpro-1.2.18.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0e6edb51fe69bdf85ad1d522d2c6f8f1a3b7830c38348c8264600f4ad342368 |
|
MD5 | 6827702ad87bbb16a77ce3c7538fb3df |
|
BLAKE2b-256 | 3055bff7a6119a59102d97a920e824a2ecc8a15f16cfc0aeecb7320d23b82ee7 |
Provenance
File details
Details for the file warapidpro-1.2.18-py2-none-any.whl
.
File metadata
- Download URL: warapidpro-1.2.18-py2-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ffae8ce722f84869450cb2508816b4652140f7ea00bdfb8283a04cd8a127ed8 |
|
MD5 | bdabb9811247cd19b7fe539a22b25d92 |
|
BLAKE2b-256 | dccf047b90e9ce3739e07b2d1d41bd45e6f9c9b8b127d5a2019cd29147528016 |