This package aims to add new apps to Rapidpro without the need to directly change the code, thus avoiding conflicts
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
Click to expand
$ pip install weni-rp-apps
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
.
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
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"
So that your app can be identify by this script, do you need follow all recomendations of gRPC Development Patterns