Application code and deployment

The code base for the project is maintained under Git version control and actually hosted at https://git.unepgrid.ch/espon-egtc/ (credential required) and the instance is deployed on Hypertech SA hosting.

Code repositories

Here is an overview of each involved repository; more details can be found into their enclosed README.md file.

edp (ESPON Database Portal)

Main code repository maintain the Django Project. It implements:

  • Database elements structure
  • Data Upload
  • Search and Download
  • Web services
  • Bases Indicators update scripts

Repository: https://git.unepgrid.ch/espon-egtc/edp

edp-docker-compose

Docker compose stack which instantiate the different required services for the full application:

  • http (nginx)
  • app (unicorn/python/django)
  • db (postgres)
  • geoserver
  • geonetwork
  • search engine (solr)
  • reverse-proxy (traefik)

Repository: https://git.unepgrid.ch/espon-egtc/edp-docker-compose

docker-edp-geoserver

Geoserver docker image build.

Repository: https://git.unepgrid.ch/espon-egtc/docker-edp-geoserver

docker-edp-app

django docker image build.

Repository: https://git.unepgrid.ch/espon-egtc/docker-edp-app

migration_2013

Migrations scripts to import ESPON 2013 projects into the 2020 Database.

https://git.unepgrid.ch/espon-egtc/migration_2013

edp-doc-scrapper

Scapper script to convert confluence documentation into static html files.

Repository: https://git.unepgrid.ch/espon-egtc/edp-doc-scrapper

Deployment

Hosting is provided by Hypertech SA:

The docker stack is instantiated in /home/edp/edp-docker-compose/ and is started as user edp:

$ sudo su edp
$ cd /home/edp/edp-docker-compose/
$ docker-compose ps

Staging instance:

  • internal hostname: esponapp01.cust.c2.gr
  • external hostname: test-db2020.espon.eu
  • ip: 10.110.4.15

Details on the deployment can be found in the edp-docker-compose repository.