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.15.tar.gz
.
File metadata
- Download URL: warapidpro-1.2.15.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ab449750f0bc10626f5b0b03c15506037b2bebe8852f8655fefeeacebd723f2 |
|
MD5 | c94bd7883879113a2acf12a1a73a7615 |
|
BLAKE2b-256 | 39e8a7a93f40d6720c260b8d094c8a36ec5a726b49260945d0ee3a42432ae9b1 |
Provenance
File details
Details for the file warapidpro-1.2.15-py2-none-any.whl
.
File metadata
- Download URL: warapidpro-1.2.15-py2-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d995d62a66473c1ff0ef1ce84382c28690e45b278d1fb9864a4d8ffa2de486d |
|
MD5 | bee8682699494bfad443cd34c1d17dde |
|
BLAKE2b-256 | 87ca9d5b374ba6abed8d5a45a78f019180845637e3d7819ec32a7f7c3c1e0e9b |