Running Dashboard using Docker Image latest (on 2.jan.2017), behind an Apache2 reverse proxy. With some local adaptations was able to run and browse Entities:
client_config.json: set "endpoint": "/gost/v1.0" to map to local gost on current domain (e.g. test or production server), via Docker Volume mapping.
Problems emerged when loading the Dashboard in the browser: URL load errors. This was locally resolved as follows:
index.html L5 : changed <base href="/"> to <base href="/adm/gostdashboard/"> (removing <base href="/"> entirely gave other loading errors from seed-app)
seed-app.html L127: removed / to make ref to widget-view.html relative to base.
Ideally we would not need <base href="/"> and load all relative to the main Dashboard URL or at least as a config option in client_config.json.
I made the changes on the generated files within the running container with vi. Not yet familiar with Web Components/Polymer but can try to setup a devenv...
Running Dashboard using Docker Image
latest
(on 2.jan.2017), behind an Apache2 reverse proxy. With some local adaptations was able to run and browse Entities:client_config.json
: set"endpoint": "/gost/v1.0"
to map to localgost
on current domain (e.g. test or production server), via Docker Volume mapping.Problems emerged when loading the Dashboard in the browser: URL load errors. This was locally resolved as follows:
<base href="/">
to<base href="/adm/gostdashboard/">
(removing<base href="/">
entirely gave other loading errors fromseed-app
)/
to make ref towidget-view.html
relative tobase
.Ideally we would not need
<base href="/">
and load all relative to the main Dashboard URL or at least as a config option inclient_config.json
. I made the changes on the generated files within the running container withvi
. Not yet familiar with Web Components/Polymer but can try to setup a devenv...