Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Update npm packages and vagrant box

Taylor Gunnoe68e15e64061b
diff --git a/Gruntfile.js b/Gruntfile.js
index 29dad3f7a..ae08464a2 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -43,12 +43,12 @@ module.exports = function(grunt) {
// CSS files
var banner = grunt.file.read("deploy/banner.txt");
- //Platform specific command for find
- var findCmd;
- if(process.platform === 'win32')
- findCmd = ";" //cygwin find doesn't really work in Windows compared to CentOS
- else
- findCmd = "find build -type d -empty -delete";
+ //Platform specific command for find
+ var findCmd;
+ if(process.platform === 'win32')
+ findCmd = ";" //cygwin find doesn't really work in Windows compared to CentOS
+ else
+ findCmd = "find build -type d -empty -delete";
grunt.initConfig({
@@ -136,6 +136,7 @@ module.exports = function(grunt) {
"web/**",
"*",
"web/**/.htaccess",
+ "!node_modules/**",
"!web/brand/**",
"!web/config/**",
"!web/var/**"
@@ -459,7 +460,7 @@ module.exports = function(grunt) {
},
// Remove all development links <!-- link.dev --> and uncomment
- // all the release links <1-- link.prod -->
+ // all the release links <!-- link.prod -->
links: {
src: [
"build/**/web/index.html",
diff --git a/Vagrantfile b/Vagrantfile
index 59e0cbf06..9c82c4236 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,3 +1,4 @@
+# coding: utf-8
# -*- mode: ruby -*-
# vi: set ft=ruby :
@@ -5,12 +6,11 @@
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
- config.vm.box = "matyunin/centos7"
+ config.vm.box = "bkyoung/centos7"
config.vm.provision :shell, path: "etc/dev/vm.bootstrap"
config.vm.hostname = "worldview"
config.vm.network "forwarded_port", guest: 80, host: 8182
-
config.vm.provider "virtualbox" do |vb|
- vb.name = "worldview"
+ vb.name = "worldview"
end
end
diff --git a/deploy/banner.txt b/deploy/banner.txt
index 37c065617..ef79470fc 100644
--- a/deploy/banner.txt
+++ b/deploy/banner.txt
@@ -4,7 +4,7 @@
* This code was originally developed at NASA/Goddard Space Flight Center for
* the Earth Science Data and Information System (ESDIS) project.
*
- * Copyright (C) 2013 - 2014 United States Government as represented by the
+ * Copyright (C) 2013 - 2016 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
diff --git a/etc/dev/worldview-dev.httpd24.conf b/etc/dev/worldview-dev.httpd24.conf
index f8565b279..f382155c3 100644
--- a/etc/dev/worldview-dev.httpd24.conf
+++ b/etc/dev/worldview-dev.httpd24.conf
@@ -1,6 +1,6 @@
Alias /@WORLDVIEW@ @ROOT@/web
-Alias /@WORLDVIEW@-release @ROOT@/build/@WORLDVIEW@/web
-Alias /@WORLDVIEW@-debug @ROOT@/build/@WORLDVIEW@-debug/web
+Alias /@WORLDVIEW@-release @ROOT@/build/site-@WORLDVIEW@/web
+Alias /@WORLDVIEW@-debug @ROOT@/build/site-@WORLDVIEW@-debug/web
<Directory @ROOT@>
Options Indexes FollowSymLinks ExecCGI
diff --git a/package.json b/package.json
index c61617e24..ebb2b028e 100644
--- a/package.json
+++ b/package.json
@@ -14,13 +14,13 @@
"buster": "0.7.12",
"grunt": "0.4.x",
"grunt-buster": "0.4.x",
- "grunt-contrib-clean": "0.5.x",
- "grunt-contrib-coffee": "0.13.x",
+ "grunt-contrib-clean": "1.0.x",
+ "grunt-contrib-coffee": "1.0.x",
"grunt-contrib-compress": "0.5.x",
- "grunt-contrib-concat": "0.3.x",
- "grunt-contrib-copy": "0.6.x",
+ "grunt-contrib-concat": "1.0.x",
+ "grunt-contrib-copy": "1.0.x",
"grunt-contrib-csslint": "0.2.x",
- "grunt-contrib-cssmin": "0.7.x",
+ "grunt-contrib-cssmin": "1.0.x",
"grunt-contrib-jshint": "0.8.x",
"grunt-contrib-uglify": "2.0.x",
"grunt-exec": "0.4.x",
@@ -35,7 +35,7 @@
"lodash": "^4.15.0",
"moment": "2.13.x",
"openlayers": "3.19.x",
- "phantomjs": "2.1.x",
+ "phantomjs-prebuilt": "2.1.x",
"promise-queue": "^2.2.3",
"react": "^15.3.1",
"react-dom": "^15.3.1",