Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

made two build scripts, one for wv-option updates and the other for wv-code updates #165

Benjaminff79d6119912
diff --git a/build.sh b/config.sh
similarity index 95%
rename from build.sh
rename to config.sh
index d2c6cf01e..231ee642c 100644
--- a/build.sh
+++ b/config.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
echo "installing npm dependencies"
npm install
echo "setting up Python environment"
diff --git a/site_build.sh b/site_build.sh
new file mode 100644
index 000000000..06cc66fcc
--- /dev/null
+++ b/site_build.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+ echo "Copying Config Artifacts to dist"
+ mkdir -p dist
+ cp build/worldview-config* dist
+ echo "Unpacking Build Artifacts"
+ ( cd build && \
+ tar xf worldview.tar.bz2 && \
+ tar xf worldview-debug.tar.bz2 && \
+ tar xf worldview-config.tar.bz2
+ )
+ echo "installing npm dependencies"
+ npm install
+ echo "setting up Python environment"
+ ./wv-python
+ echo "Generating site via 'grunt site'"
+ grunt site
+ echo "Generating rpm via 'grunt rpm-only'"
+ grunt rpm-only
\ No newline at end of file