Skip to content

Latest commit

 

History

History
96 lines (71 loc) · 2.09 KB

README.md

File metadata and controls

96 lines (71 loc) · 2.09 KB

RapidPro Apps

This package aims to add new apps to Rapidpro without the need to directly change the code, thus avoiding conflicts

How to contribute

First, clone this repository

$ git clone https://github.com/Ilhasoft/rapidpro-apps.git

Install dependencies and enter virtualenv

$ poetry install
$ poetry shell

Sync pre-commits to your environment

$ pre-commit install

Install using pip

Click to expand
$ pip install weni-rp-apps

Local Installation

Click to expand

You need configure the following envireoment variable Necessary for some installations methods

  • RAPIDPRO_APPS_PATH - indicates the path where the repository was cloned
$ export RAPIDPRO_APPS_PATH="<path>"

OBS: from now on it is very important that it is inside your virtualenv

After activating your virtualenv enter the weni-rp-apps directory

$ cd $RAPIDPRO_APPS_PATH

Run the install file

$ ./install

If an error occurs during the installation, the following error will be raised: There was a problem during the installation. On the other hand if everything goes well you will receive the following message Package installed successfully.

Local Installation - Manual

Click to expand
poetry build
cd dist/
tar -xvf weni-rp-apps-1.0.13.tar.gz # Look at specific version
cd weni-rp-apps-1.0.13/ # Look at specific version
python setup.py develop

Setting variables

Add the desired apps to you INSTALLED_APPS setting:

settings.py

...

INSTALLED_APPS += ("weni.<app_name>", ...)

Done. Now you can go back to rapidpro and help us "Unleash Human Potential"

APPs available

So that your app can be identify by this script, do you need follow all recomendations of gRPC Development Patterns