Interactive interface for browsing global, full-resolution satellite imagery
update for el7 build
Mike McGann89b4bb56167a
diff --git a/.gitignore b/.gitignoreindex 198c8c839..d1fb4f962 100644--- a/.gitignore+++ b/.gitignore@@ -15,7 +15,7 @@ python.settings.pydevproject.DS_Store-bitly_config.py*+bitly.jsontools*~*.swpdiff --git a/package.json b/package.jsonindex 6dffd115d..14b1bb439 100644--- a/package.json+++ b/package.json@@ -34,8 +34,8 @@"build:prod": "cross-env NODE_ENV=production webpack","build:tests": "cross-env NODE_ENV=testing webpack","clean": "node ./tasks/clean.js",- "dist": "NODE_ENV=production npm run build && node ./tasks/dist.js",- "dist:dev": "NODE_ENV=development npm run build && node ./tasks/dist.js",+ "dist": "npm run clean && npm run build:config && npm run build:prod && node ./tasks/dist.js",+ "dist:dev": "npm run clean && npm run build:config && npm run build:dev && node ./tasks/dist.js","distclean": "npm run clean && node ./tasks/distclean.js","e2e": "run-s --continue-on-error --silent e2e:*","e2e:chrome": "nightwatch -e chrome",diff --git a/rpm/httpd.conf b/rpm/httpd.confindex fedf9ee31..b5eea25de 100644--- a/rpm/httpd.conf+++ b/rpm/httpd.conf@@ -1,11 +1,9 @@-Alias /labs/worldview /usr/share/worldview/web+Alias /worldview /usr/share/worldview/webAddHandler cgi-script .cgi<Directory /usr/share/worldview/web>- AllowOverride All- Order allow,deny- Allow from all+ Require all granted</Directory>AddHandler cgi-script .cgidiff --git a/rpm/worldview.spec b/rpm/worldview.specindex 39f3d9244..b4ee9e08c 100644--- a/rpm/worldview.spec+++ b/rpm/worldview.spec@@ -1,10 +1,10 @@-Name: @WORLDVIEW@+Name: worldviewVersion: @BUILD_VERSION@Release: 1.@BUILD_NUMBER@%{?dist}Summary: Browse full-resolution, near real-time satellite imagery.License: NASA-1.3URL: http://earthdata.nasa.gov-Source0: @[email protected]+Source0: worldview.tar.gzSource1: httpd.confSource2: bitly.jsonBuildArch: noarch@@ -56,14 +56,14 @@ rm -rf %{buildroot}%postif [ $1 -gt 0 ] ; then- if /sbin/service httpd status >/dev/null ; then- /sbin/service httpd reload+ if /bin/systemctl show httpd.service | grep ActiveState=active >/dev/null ; then+ /bin/systemctl reload httpd.servicefifi%postunif [ $1 -eq 0 ] ; then- if /sbin/service httpd status >/dev/null ; then- /sbin/service httpd reload+ if /bin/systemctl show httpd.service | grep ActiveState=active >/dev/null ; then+ /bin/systemctl reload httpd.servicefifi