Interactive interface for browsing global, full-resolution satellite imagery
-w flag for EOSDIS options
Mike McGannf5e7bcab4cc3
diff --git a/wv-setup b/wv-setupindex 0bc20668f..2129f4534 100755--- a/wv-setup+++ b/wv-setup@@ -22,10 +22,11 @@ Usage: $PROG [options]Options:-d Install apache configuration files and restart the web server-h Prints this usage+ -w Worldview EOSIS optionsEOF}-while getopts dkh flag; do+while getopts dhw flag; docase "$flag" ind)DEVELOP=1@@ -35,6 +36,10 @@ while getopts dkh flag; dousageexit 0;;+ w)+ WORLDVIEW=1+ shift;+ ;;?)usageexit 1@@ -72,13 +77,17 @@ fiif [ ! -d "$BASE_DIR/options" ] ; thenecho "$PROG: ***** Fetching options"- git clone https://github.com/nasa-gibs/worldview-options-template options- mkdir -p "$BASE_DIR/build"- git clone https://github.com/nasa-gibs/worldview-options-eosdis \- "$BASE_DIR/build/options-eosdis"- cp "$BASE_DIR/build/options-eosdis/config.json" "$BASE_DIR/options"- cp -r "$BASE_DIR/build/options-eosdis/config" "$BASE_DIR/options"- cp -r "$BASE_DIR/build/options-eosdis/colormaps" "$BASE_DIR/options"+ if [ "$WORLDVIEW" ] ; then+ git clone https://github.com/nasa-gibs/worldview-options-eosdis options+ else+ git clone https://github.com/nasa-gibs/worldview-options-template options+ mkdir -p "$BASE_DIR/build"+ git clone https://github.com/nasa-gibs/worldview-options-eosdis \+ "$BASE_DIR/build/options-eosdis"+ cp "$BASE_DIR/build/options-eosdis/config.json" "$BASE_DIR/options"+ cp -r "$BASE_DIR/build/options-eosdis/config" "$BASE_DIR/options"+ cp -r "$BASE_DIR/build/options-eosdis/colormaps" "$BASE_DIR/options"+ fifiif [ ! -d "$BASE_DIR/dist" ] ; then