Interactive interface for browsing global, full-resolution satellite imagery
Clean build
Mike McGann4ea086323582
diff --git a/Gruntfile.js b/Gruntfile.jsindex f7112d599..607aa1f45 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -3,7 +3,7 @@** This code was originally developed at NASA/Goddard Space Flight Center for* the Earth Science Data and Information System (ESDIS) project.- *+ ** Copyright (C) 2013 - 2014 United States Government as represented by the* Administrator of the National Aeronautics and Space Administration.* All Rights Reserved.@@ -45,6 +45,7 @@ module.exports = function(grunt) {pkg: pkg,opt: options,+ apache_version: grunt.option("apache-version") || "22",buster: {console: {},@@ -69,6 +70,11 @@ module.exports = function(grunt) {},copy: {+ apache: {+ src: "etc/dev/worldview-dev.httpd<%=apache_version%>.conf",+ dest: "dist/<%=grunt.option('packageName')%>.conf"+ },+brand_info: {files: [{src: "options/brand.json",@@ -385,6 +391,20 @@ module.exports = function(grunt) {},replace: {+ apache: {+ src: [+ "dist/<%=grunt.option('packageName')%>.conf"+ ],+ overwrite: true,+ replacements: [{+ from: "@WORLDVIEW@",+ to: "<%=grunt.option('packageName')%>"+ },{+ from: "@ROOT@",+ to: process.cwd()+ }]+ },+// Remove all development links <!-- link.dev --> and uncomment// all the release links <1-- link.prod -->links: {@@ -590,6 +610,12 @@ module.exports = function(grunt) {"copy:rpm"]);+ grunt.registerTask("apache-config", [+ "load_branding",+ "copy:apache",+ "replace:apache"+ ]);+grunt.registerTask("check", ["lint", "test"]);grunt.registerTask("clean", ["remove:build"]);grunt.registerTask("distclean", ["remove:build", "remove:dist"]);diff --git a/etc/dev/vm.bootstrap b/etc/dev/vm.bootstrapindex c8972ee09..2154ec14f 100755--- a/etc/dev/vm.bootstrap+++ b/etc/dev/vm.bootstrap@@ -30,10 +30,24 @@ npm installrm -rf python./wv-pythongrunt-grunt apache-config-cp dist/worldview-dev.httpd.conf /etc/httpd/conf.d+grunt --apache-version=24 apache-config+cp dist/*.conf /etc/httpd/conf.dsystemctl enable httpd.servicesystemctl start httpd.servicesystemctl stop firewalld.servicesystemctl disable firewalld.service++setenforce 0+sed -i -e 's/SELINUX=enforcing/SELINUX=disabled/' /etc/sysconfig/selinux++ROOT=$(basename $(ls dist/*.conf) | cut -f1 -d.)++cat <<EOF++==============================================================+Worldview is now ready! Open your web browser to:++http://localhost:8182/$ROOT++EOFdiff --git a/etc/dev/worldview-dev.httpd.conf b/etc/dev/worldview-dev.httpd22.confsimilarity index 87%rename from etc/dev/worldview-dev.httpd.confrename to etc/dev/worldview-dev.httpd22.confindex 1d3e35e67..56ba20a25 100644--- a/etc/dev/worldview-dev.httpd.conf+++ b/etc/dev/worldview-dev.httpd22.conf@@ -1,4 +1,4 @@-Alias /@WORLDVIEW@ @ROOT@/src+Alias /@WORLDVIEW@ @ROOT@/webAlias /@WORLDVIEW@-release @ROOT@/build/@WORLDVIEW@/webAlias /@WORLDVIEW@-debug @ROOT@/build/@WORLDVIEW@-debug/webdiff --git a/etc/dev/worldview-dev.httpd24.conf b/etc/dev/worldview-dev.httpd24.confnew file mode 100644index 000000000..f8565b279--- /dev/null+++ b/etc/dev/worldview-dev.httpd24.conf@@ -0,0 +1,9 @@+Alias /@WORLDVIEW@ @ROOT@/web+Alias /@WORLDVIEW@-release @ROOT@/build/@WORLDVIEW@/web+Alias /@WORLDVIEW@-debug @ROOT@/build/@WORLDVIEW@-debug/web++<Directory @ROOT@>+ Options Indexes FollowSymLinks ExecCGI+ AllowOverride All+ Require all granted+</Directory>