Interactive interface for browsing global, full-resolution satellite imagery
Vagrant updates since config was stale
Mike McGann0e4b10bb4d9e
diff --git a/Vagrantfile b/Vagrantfileindex e3e2032fa..59e0cbf06 100644--- a/Vagrantfile+++ b/Vagrantfile@@ -5,7 +5,7 @@VAGRANTFILE_API_VERSION = "2"Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|- config.vm.box = "hfm4/centos7"+ config.vm.box = "matyunin/centos7"config.vm.provision :shell, path: "etc/dev/vm.bootstrap"config.vm.hostname = "worldview"config.vm.network "forwarded_port", guest: 80, host: 8182diff --git a/etc/dev/vm.bootstrap b/etc/dev/vm.bootstrapindex 01edf300d..c8972ee09 100755--- a/etc/dev/vm.bootstrap+++ b/etc/dev/vm.bootstrap@@ -1,9 +1,16 @@#!/bin/bashset -e-set -x-yum install -y http://mirrors.kernel.org/fedora-epel/7/x86_64/e/epel-release-7-1.noarch.rpm+cd /vagrant+if [ ! -d options ] ; then+ echo "ERROR: options directory does not exist" >&2+ exit 1+fi++if ! rpm -q epel-release; then+ yum install -y http://mirrors.kernel.org/fedora-epel/7/x86_64/e/epel-release-7-2.noarch.rpm+fiyum install -y \httpd \@@ -12,19 +19,15 @@ yum install -y \npm \python-virtualenv-cd /vagrant-# The certificate used for npmjs.org has changed and it is not recognized by# the bundled CA: https://github.com/npm/npm-www/issues/185## Workaround is to not verify ssl certificate:#npm config set strict-ssl false-if [ ! -d options ] ; then- git clone https://github.com/nasa-gibs/worldview-options-eosdis.git options-finpm install -g grunt-clinpm install+rm -rf python./wv-pythongruntgrunt apache-config