online map: OpenNauticalChart.org
You are not logged in.
Pages: 1
https://forum.opennauticalchart.org/vie … pid=41#p41 :
It would be great if we could put builds of the various contenders on one of our servers so that others could look at the end results. Then us non-webbies could view them with our browsers.
I already have prepared something like this for use with docker on the new alpha.openseamap.org.
We can use this to provide simple previews for the different maps. The container map-docker clones a git repository on startup and serves it via nginx. Php is active.
I only need the git url, the branch and a name for the subdomain. Than I can activate an instance at the new alpha server. I will configure the server to automatically reload the container from time to time. So the preview will be updated on a regular basis (but not on each pull request or merge).
Later on we can setup the CI system I already introduced on the dev-ML (http://sourceforge.net/p/openseamap/mai … sg34626679)
Offline
Hi Axel,
how do I call the preview api?
I would expect something like http://tiles.grade.de/tiles.py/seamark/preview.html
Thanks, Dirk
Offline
how do I call the preview api?
There is (currently) no API call necessary or possible.
Via the docker image I setup a complete nginx webserver. The data to serve is pulled via git pull at the statup.
The urls will be like http://map.195.37.132.70.xip.io/ .
As an addition I prepared a webhook listener: https://github.com/aAXEe/github-webhook-handler
This is an additional server listing for webhook invokes from github. It can be used to update the served content after a git commit or to setup a new instance for each new pull request.
Offline
sorry, I was thinking about tile serving.
Ahh ok. I thought the subforum "online map" is related to the html maps like http://map.openseamap.org . But it stands for tiles?!
Shall we start a new topic at 'development > general discussion > tile server'?
Why not? :)
You can find my configuration for the new t1.openseamap.org here: https://github.com/aAXEe/tiles-docker
Back to the main topic:
I created an instance for https://github.com/roeger/onlineseamap:
http://roeger-onlineseamap.195.37.132.7 … o/map.html
It is updated once a hour.
What do you think?
As no one responded I removed that site.
Last edited by Axel (2016-03-02 17:47:18)
Offline
Pages: 1