minutis-redcall / redcall

RedCall is a messaging tool used by the French Red Cross. It aims to ask for thousands of volunteer's availability, gather volunteer's answers, and fill up ambulances or assistance units with the required people and skills when major incidents occur.
https://redcall.minutis.croix-rouge.fr
MIT License
22 stars 6 forks source link

Minutis RedCall

This Red Cross project concerns volunteers that do social activities (roams, emergency night shelters...) and those who do first aid. As volunteers can be located anywhere in Paris (or elsewhere), tools are required to synchronize people as fast as possible when criticial situations occur.

RedCall.io is a messaging tool for head of emergencies. They use it to ask for volunteer's availability, gather volunteer's answers, and fill up ambulances or assistance units with the required people and skills.

Présentation de Redcall

This project was initially developed by the BlaBlaCar team as part of a Coding Night event, check out more details on that medium blog post . It is now maintained and supported by the Minutis team by French Red Cross volunteers.

Development

This project runs in PHP 7 with the Symfony 5 framework. It requires a MySQL or MariaDB database and Yarn for assets management. Frontend is built with jQuery 3 and Bootstrap 3.

This project runs on Docker for development purposes. Many tools have been developed to disable or mock external providers, so you can get ready to work in a few seconds.

Set up instructions here, and read the CONTRIBUTING.

Staging and production

In production, this project runs on Cloud App Engine with a MariaDB instance on Cloud SQL.

Configuration is located in deploy/prod and deploy/preprod directories, for each environment you need, you should rename dotenv.dist into dotenv and fill up every variable by following the next sections.

RedCross only:

Once everything is configured, go to the following page:

To deploy, run the following commands:

cd deploy
sh ./deploy.sh <env>

To sync the database, use the migration script:

cd deploy
sh ./migrate.sh <env>