Interactive interface for browsing global, full-resolution satellite imagery
Updates for Windows installation
rboller7a63afd4ae0a
diff --git a/Gruntfile.js b/Gruntfile.jsindex 031a19fa2..03684110b 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -49,6 +49,15 @@ module.exports = function(grunt) {findCmd = ";" //cygwin find doesn't really work in Windows compared to CentOSelsefindCmd = "find build -type d -empty -delete";++ // Platform specific location for Python+ var pythonPath;+ if(process.platform === 'win32') {+ pythonPath = "python/Scripts"+ }+ else {+ pythonPath = "python/bin"+ }grunt.initConfig({@@ -331,7 +340,7 @@ module.exports = function(grunt) {exec: {config: {- command: "PATH=python/bin:${PATH} bin/wv-options-build " + env+ command:"bash -c \"PATH=" + pythonPath + ":\"${PATH}\" bin/wv-options-build \"" + env},// After removing JavaScript and CSS files that are no longer@@ -342,14 +351,14 @@ module.exports = function(grunt) {},fetch: {- command: "PATH=python/bin:${PATH} FETCH_GC=1 bin/wv-options-build " + env+ command: "bash -c \"PATH=" + pythonPath + ":\"${PATH}\" FETCH_GC=1 bin/wv-options-build \"" + env},node_packages: {command: 'npm update'},python_packages: {- command: 'virtualenv python && pip install xmltodict isodate'+ command: "virtualenv python && bash -c \"PATH=" + pythonPath + ":\"${PATH}\" pip install xmltodict isodate"},rpmbuild: {@@ -358,7 +367,7 @@ module.exports = function(grunt) {},tar_config: {- command: "tar cjCf build dist/worldview-config.tar.bz2 " ++ command: "tar -C build -cjf dist/worldview-config.tar.bz2 " +"options"},diff --git a/bin/wv-options-build b/bin/wv-options-buildindex b46f99f47..bb3b4d51f 100755--- a/bin/wv-options-build+++ b/bin/wv-options-build@@ -41,7 +41,7 @@ rm -rf "$BUILD_DIR" "$DEST_DIR"mkdir -p "$BUILD_DIR" "$DEST_DIR"cp -r "$SRC_DIR"/common/* "$BUILD_DIR"-rsync -a "$SRC_DIR/$ENV"/* "$BUILD_DIR"+cp -r "$SRC_DIR/$ENV"/* "$BUILD_DIR"mkdir -p "$DEST_DIR/config"mkdir -p "$BUILD_DIR/colormaps"