Skip to content

healthsites/healthsites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Welcome to the healthsites code base!

Join the chat at https://gitter.im/healthsites/healthsites

Healthsites is a framework for capturing, publishing and sharing critical health and sanitation related data to help make these facilities more accessible and relevant to the communities they serve. Our framework does not limit our endeavours to these domains and in the future we plan to support additional domains where it is helpful in humanitarian work.

Please note that this project is in the early phase of its development.

You can visit a running instance of healthsites at healthsites.io.

Status

These badges reflect the current status of our development branch:

Tests status: Build Status

Coverage status: Coverage Status

Development status: User stories in the backlog

License

Data: Open Database License
Data credits : © OpenStreetMap contributors
Code: 3-clause BSD License

Our intention is to foster widespread usage of the data and the code that we provide. Please use this code and data in the interests of humanity and not for nefarious purposes.

Setup instructions

  1. Copy the .env template to project root
cp deployment/.template.env .env
  1. Copy docker-compose file
cp deployment/docker-compose.override.template.yml deployment/docker-compose.override.yml
  1. Change the PBF file to smaller one, i.e. from Senegal
# change this
RUN wget https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf  -O settings/country.pbf
# to this
RUN wget https://download.geofabrik.de/africa/senegal-and-gambia-latest.osm.pbf -O settings/country.pbf
  1. Run make

Additional steps:

  1. Because the imposm may fail as the database container is not ready, you may need to restart it.
docker restart healthsites_osm_imposm