IDEMSInternational / parenttext-pipeline

Public repositry for all tools related to ParentText
GNU General Public License v3.0
2 stars 1 forks source link

ParentText Pipeline

Handles the process for producing RapidPro flows from data held in spreadsheets.

Setup

  1. Install Python >= 3.10
  2. Install Python dependencies: pip install -e .
  3. Install Node and npm LTS versions
  4. Install Node dependencies: npm install

Run

Two operations are currently available:

To start the pipeline performing both operations in sequence:

python -m parenttext_pipeline.cli pull_data compile_flows

You will need to create a file called 'config.py', in the current working directory, and define a callable called 'create_config' that returns the pipeline settings as a dict. More details can be in the configuration page.

Documentation