CodeForAfrica / HURUmap

HURUmap is an interactive web platform that allows citizens and journalists to explore, visualise, and download census data. This gives them the power to give context to stories that was otherwise hard to spot. Accessible at https://hurumap.org
https://hurumap.org
GNU General Public License v3.0
8 stars 7 forks source link

Improve Docker + Decouple HURUmap Dashboard #44

Closed DavidLemayian closed 5 years ago

DavidLemayian commented 5 years ago

Description

We are able to greatly increase the re-usability and development of the HURUmap package by cleaning up how we handle Docker and and its "re-usability of package".

These changes seek to:

  1. Create a codeforafrica/hurumap image that installs all the requirements including hurumap.
  2. Version hurumap image according to the package's own version (see release.sh).
  3. Decouple hurumap.dashboard Django app such that it relies on hurumap instead of other way around.

Fixes #161711666

Type of change

Please delete options that are not relevant.

Screenshots

Checklist:


Integration + Other tasks

phillipahereza commented 5 years ago

@DavidLemayian can we have docker automatically load fixtures?

DavidLemayian commented 5 years ago

@ahereza Definitely not. That would reset the DB on deploy and we don't want that to happen in production. All things that touch the DB must be done manually and intentionally.

phillipahereza commented 5 years ago

@DavidLemayian I think this PR is ready, whenever you're comfortable with it, please release as v0.1 cc @kilemensi

DavidLemayian commented 5 years ago

@phillipahereza I've merged this but on releasing v0.1, that's on you and @kilemensi to:

  1. Create a branch for the release
  2. Change versions and add documentation
  3. Create draft release based on the branch on here
  4. ?