Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

vagrant: run build step as user vagrant

Mike McGann691638cc21b8
diff --git a/etc/dev/vm.bootstrap b/etc/dev/vm.bootstrap
index 7637425b3..32e156ab0 100755
--- a/etc/dev/vm.bootstrap
+++ b/etc/dev/vm.bootstrap
@@ -26,11 +26,16 @@ yum install -y \
#npm config set strict-ssl false
npm install -g grunt-cli
+easy_install xmltodict
+rm -rf ~/.npm
+
+sudo -u vagrant -s -- <<EOF
npm install --no-bin-links
rm -rf python
-easy_install xmltodict
grunt
grunt --apache-version=24 apache-config
+EOF
+
cp dist/*.conf /etc/httpd/conf.d
systemctl enable httpd.service