Coder Social home page Coder Social logo

ngendah / rapidpro-compose Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 2.0 66 KB

The full RapidPro v7 stack with docker-compose

License: MIT License

Dockerfile 32.31% Python 44.81% Shell 22.88%
shell nginx docker-compose dockerfile python3 rapidpro courier ssl-support golang

rapidpro-compose's Introduction

RapidPro v7 stack with docker compose

Build Status

RapidPro is an interactive SMS builder which offers an intuitive UI for working with SMS workflows involving crafting, sending, receiving and processing SMS'es.

It's stack is composed of various services which need to be started separately and this can be challenging when trying to self host or running it locally on your machine.

This project simplifies the process by consolidating it's main services to a single configuration file easily started by a single command.

To start you will need build and run the servers as follows;

On Linux

  1. Install git, docker, docker compose and confirm that docker is running.

  2. Clone the project.

git clone https://github.com/ngendah/rapidpro-compose.git
  1. Change your active directory to the cloned directory.

  2. Build the images and start compose.

docker compose up --build
  1. Once running you can access Rapidpro from your browser.
https://localhost

    e.g https://localhost

Because the server is using a self-signed SSL/TLS certificate, the browser will issue a warning. Ignore the warning and continue. e.g on Firefox, click on advanced button and accept.

On Windows 10

  1. Install git, docker, docker compose and confirm that docker is running.

While installing git configure it's line-endings conversion to use unix-style line endings.

  1. Start the git-bash console installed on the desktop.

  2. Clone the project.

git clone https://github.com/ngendah/rapidpro-compose.git
  1. Change your active directory to the cloned directory.
cd rapidpro
  1. Build the images.
docker compose build
  1. Start the composer
docker compose up
  1. Once running you can access Rapidpro from your browser.
https://localhost

    e.g https://localhost

Because the server is using a self-signed SSL/TLS certificate, the browser will issue a warning, ignore the warning and continue. e.g on Firefox, click on advanced button and accept.

NOTES

  1. The stack environment variables are available on the file rapidpro.env.

  2. To add elastic search visit the official guide here

  3. RapidPro development guides are available here.

CREDITS

  1. RapidPro project.

  2. Praekelt.org for the initial docker base images for mailroom and courier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.