Skip to content

This is a cloud function based webhook processing service that is being using to get webhook calls from RapidPro to capture different analytical data point.

License

Notifications You must be signed in to change notification settings

DostEducation/RP_IVR_analytics

Repository files navigation

RP IVR Analytics

Code style: black License: AGPL v3 Build & Deployment

This is a cloud function based webhook that is being using to get webhook calls from RapidPro to capture different analytical data point.

Installation

Prerequisite

  1. pyenv
  2. python 3.8

Steps

  1. Clone the repository
    git clone https://github.com/DostEducation/RP_IVR_analytics.git
  2. Switch to project folder and setup the vertual environment
    cd RP_IVR_analytics
    python -m venv venv
  3. Activate the virtual environment
    source ./venv/bin/activate
  4. Install the dependencies:
    pip install -r requirements-dev.txt
  5. Set up your .env file by copying .env.example
    cp .env.example .env
  6. Add/update variables in your .env file for your environment.
  7. Run the following command to get started with pre-commit
    pre-commit install
  8. Start the server by following command
    functions_framework --target=webhook --debug

License

GNU Affero General Public License v3.0

About

This is a cloud function based webhook processing service that is being using to get webhook calls from RapidPro to capture different analytical data point.

Resources

License

Stars

Watchers

Forks

Packages

No packages published