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.17.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for warapidpro-1.2.17.tar.gz
Algorithm Hash digest
SHA256 0c7a79f9b41ef3ca56f33d5086fe50d75edb154608a03d751724cbc35a5bcd4d
MD5 2bc2c509e303146aefb16f8b58f4a3e8
BLAKE2b-256 bf5b1cff9d0bd385d784060cdb00e1517e86ab2f5dfb45043753332be8f942ab

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for warapidpro-1.2.17-py2-none-any.whl
Algorithm Hash digest
SHA256 3ff5c1815de5c0ecc618e8b9798f6e1f447679379e694e7e9542944720154036
MD5 58214ee9b850034cdbb0d5b69696b253
BLAKE2b-256 3ccb3c74b1723db380296d485465570a784af88c8e42f743b65270c112794115

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