cityofcapetown / Data-Portal

Docker image for City's data portal prototype
2 stars 1 forks source link

Data-Portal

Docker image for City's data portal prototype.

Setting up

Drawing heavily on these instructions, as well as the accompanying docker compose file.

Also, the work done by OpenUp on SA's National Treasury CKAN.

NB The below config is strictly for development purposes, and is horribly insecure.

Docker

Deploys everything to one host that needs Docker installed. On the plus side, very simple, on the minus, as reliable as that one host.

  1. Run the script bash bin/run_ckan.sh - see the script for the args
  2. CKAN should be accessible at :8001
  3. Remove everything: bash bin/rm_ckan.sh

Customising for Production

Working notes on what has to be done to prepare this install for production deployment:

Kubernetes Deployment

Deploys to a kubernetes cluster. Gives you the reliability guarantees of your k8s cluster, but has more moving parts.

  1. Run the script bash bin/deploy.sh - see the script for the args
  2. CKAN should be accessible on https://datascience.capetown.gov.za/ckan-test

Customising for Production