vwmaus / model-reproducibility

Research Proposal Master Thesis: Improving reproducibility in Earth Science
GNU General Public License v3.0
0 stars 1 forks source link

Geonode location #39

Open vwmaus opened 6 years ago

vwmaus commented 6 years ago

@ptrkrnstnr the webinterface should replace the geonode location in the files below with the location specified in geonode.env. This will make it flexible to set any address.

WebInterface/wwwroot/js/site.js:221:var geoNodeUrl = "http://localhost:8011/";
WebInterface/wwwroot/js/site.js:234:    //http://localhost:8011/api/documents/
WebInterface/docker_templates/Dockerfile-model:23:RUN curl -SL "http://localhost:8011/documents/${GEONODE_DATA}/download" --create-dirs -o /data/data.zip
WebInterface/Controllers/HomeController.cs:83:            return hs.DownloadFile($@"http://localhost:8011/documents/{id}/download", "geonode.zip");
WebInterface/Models/GeoNodeConfiguration.cs:10:        public static string geoNodeUrl = @"http://http://localhost:8011/";
ptrkrnstnr commented 6 years ago

add input field (in the webinterface) for geonode host (localhost, web)