Skip to content

EOResearchCluster/wasserbilanz-webviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wasserbilanz Web-Viewer

This is a very simple web viewer that displays cloud-optimized GeoTIFFs on an OpenLayers-powered web map.

It is publicly deployed at https://wasserbilanz.eo2cube.org/

Installation

On your device, clone this repo and execute:

  1. npm install
  2. npm run build
  3. scp -i /path/to/privatekey -r dist/* [email protected]:/var/www/wasserbilanz/
  4. scp -i /path/to/privatekey -r data/* [email protected]:/var/www/wasserbilanz/data

(Make sure the folders exist on the server beforehand.)

On the server, in /etc/caddy/Caddyfile add:

wasserbilanz.eo2cube.org {
    root * /var/www/wasserbilanz
    file_server
}

And execute docker exec -w /etc/caddy caddy caddy reload.

If Caddy doesn't find the files, verify that /var/www is mounted into the caddy Docker container (i.e. it is listed in the volumes section of /home/eocube/Docker/proxy/docker-compose.yml).

Ready to serve!

Authors

Code: Christoph Friedrich [email protected]

Data: Thomas Piernicke [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published