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.gitInstall dependencies and enter virtualenv
$ poetry install
$ poetry shellSync pre-commits to your environment
$ pre-commit installClick to expand
$ pip install weni-rp-appsClick 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_PATHRun the install file
$ ./installIf 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 buildcd dist/
tar -xvf weni-rp-apps-1.0.13.tar.gz # Look at specific versioncd weni-rp-apps-1.0.13/ # Look at specific version
python setup.py developAdd 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