Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

warapidpro-1.2.16.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

warapidpro-1.2.16-py2-none-any.whl (16.8 kB view details)

Uploaded Python 2

File details

Details for the file warapidpro-1.2.16.tar.gz.

File metadata

  • Download URL: warapidpro-1.2.16.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for warapidpro-1.2.16.tar.gz
Algorithm Hash digest
SHA256 97f949c6de2bae938c378e3a3963812d2f5e72b0005884d85f5c0d36371e2509
MD5 9e121c31e486ed469955bff69b6e7ecc
BLAKE2b-256 f7ff28283f7d8b75afca04a5306084389421c2287f2b58f8bc284029ac3d4ac8

See more details on using hashes here.

Provenance

File details

Details for the file warapidpro-1.2.16-py2-none-any.whl.

File metadata

File hashes

Hashes for warapidpro-1.2.16-py2-none-any.whl
Algorithm Hash digest
SHA256 1d6fafdfb6357aad112c79b3cd966eedd1c0b1fe49eff9295ae0ec3c661924f7
MD5 7b5b3173a019170fbdad1f2d85c5bd6f
BLAKE2b-256 3f3578e01813e1c9147b2b9f4cd007572f4281f775b60067a3e688813b7d6b14

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page