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.
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.
This project runs in PHP >=7.1 with the Symfony4 framework. It requires a MySQL or MariaDB database and Yarn for assets management.
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.
Find set up instructions here.
This project is built to be deployed in production on Google App Engine.
- Setting up a new Google Cloud Platform project
- Setting up a VPC Network
- Setting up a Bastion
- Setting up a Google App Engine instance
- Setting up a custom domain name to your instance
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.
- Setting up a Google Service Account
- Setting up Symfony
- Setting up Google reCaptcha
- Setting up Google Cloud SQL
- Setting up a "Dev PC to MySQL" connection
- Setting up Mapbox
- Setting up Nexmo
- Setting up Pegass
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>
To set-up your first account, check that doc.