Interactive interface for browsing global, full-resolution satellite imagery
updated configuration section and typos
minniewong7206af2e5b45
diff --git a/README.md b/README.mdindex d6dd64904..d678a50ef 100644--- a/README.md+++ b/README.md@@ -38,17 +38,18 @@ git clone https://github.com/nasa-gibs/worldview.gitcd worldviewnpm install```+View the [Configuration](doc/configuration.md) section for information on how to install the offical EOSDIS Worldview configuration, or to add your own custom configuration.### Dependencies-The following are required to install and run Worldview;+The following are required to install and run Worldview:- [Node v8.8.1 or Later](https://nodejs.org/en/download/)- **Note:** Ubuntu users may run into issues with the `node` command not being available. See [this question on StackOverflow](https://stackoverflow.com/q/18130164/417629) for possible solutions.- [Python v2.7.14 or Later](https://www.python.org/)- **Note:** It is recommended that Windows users install Python with [Windows Build Tools](https://www.npmjs.com/package/windows-build-tools).-Windows users will also need the following;+Windows users will also need the following:- [Git Bash](https://git-scm.com/downloads), or [MinGW-w64](https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/MSYS%20%2832-bit%29/)- [.NET Framework](https://www.microsoft.com/net/download/dotnet-framework-runtime) or [Visual Studio Team Services](https://www.visualstudio.com/)diff --git a/doc/branding.md b/doc/branding.mdindex d09fbe532..1e20e3ae6 100644--- a/doc/branding.md+++ b/doc/branding.md@@ -1,11 +1,11 @@# BrandingTo add custom branding to Worldview,-[create a custom configuration](configuration.md) and modify it;+[create a custom configuration](configuration.md) and modify it:## Customizing-Update the following fields in `options/common/brand.json` with custom branding;+Update the following fields in `options/common/brand.json` with custom branding:* `packageName`: Application name used to create builds, (i.e. `worldview`).* `name`: Application name shown to end users (i.e. `EOSDIS Worldview`).diff --git a/doc/configuration.md b/doc/configuration.mdindex 7e3f2db90..65ca580df 100644--- a/doc/configuration.md+++ b/doc/configuration.md@@ -1,9 +1,9 @@# Configuration-By default, Worldview uses [the official EOSDIS configuration](https://github.com/nasa-gibs/worldview-options-eosdis).+The Worldview app uses [the official EOSDIS configuration](https://github.com/nasa-gibs/worldview-options-eosdis).To create a custom configuration, clone the default configuration repo or[the configuration template repo](https://github.com/nasa-gibs/worldview-options-template.git)-into the `options/` directory and modify it;+into the `options/` directory and modify it:```bashgit clone https://github.com/nasa-gibs/worldview-options-template.git options@@ -23,7 +23,7 @@ as needed or use `npm run updateconfig` as a shortcut to run both.If you have a custom configuration in a subdirectory of `options/` other than`options/release/`, pass in the name of the subdirectory to use with`npm run build:config -- subdirectory_name`. To build an incomplete configuration,-prefix the command like this; `IGNORE_ERRORS=true npm run build:config`.+prefix the command like this: `IGNORE_ERRORS=true npm run build:config`.## New Layers@@ -154,7 +154,7 @@ First, layers must be added to `config/wv.json/layers` and `config/wv.json/layer- Fetch GIBS GetCapabilities with `npm run getcapabilities`. This gets the latest layer information and colormaps from GIBS.- Add new layer(s)- - Follow [New Layers](https://github.com/nasa-gibs/worldview/blob/master/doc/config.md#new-layers) above to create JSON file in `config/wv.json/layers`.+ - Follow [New Layers](configuration.md#new-layers) above to create JSON file in `config/wv.json/layers`.- Add to Measurements- Add to relevant measurement or create a new JSON file in `config/wv.json/measurements`.- Add to Categories@@ -166,7 +166,7 @@ First, layers must be added to `config/wv.json/layers` and `config/wv.json/layer- Add Layer descriptions/metadata, if it exists- Create .md file in `config/metadata`. The *description* (i.e. layer description/metadata) identifier has to be added to the corresponding measurement JSON file.- Add Data Download for product, if it exists- - Refer to [Data Download](https://github.com/nasa-gibs/worldview/blob/master/doc/data_download.md) and create JSON file in `config/wv.json/products`. The *product* identifier has to be added to the corresponding layer JSON file.+ - Refer to [Data Download](data_download.md) and create JSON file in `config/wv.json/products`. The *product* identifier has to be added to the corresponding layer JSON file.- Rebuild the configuration with `npm run build:config` for use by the application.## New Map Sourcesdiff --git a/doc/developing.md b/doc/developing.mdindex 42b485c5e..ad6136e38 100644--- a/doc/developing.md+++ b/doc/developing.md@@ -8,7 +8,7 @@ combination of JavaScript, Bash and Python scripts.**`npm run build`**: Runs all the `build:x` scripts below and generates a buildin `build/` and `dist/site-worldview.tar.bz2`. If you have a custom configurationsubdirectory, pass it to the command with `npm run build -- subdirectory_name`.-To build the app with an incomplete configuration, prefix the command like this;+To build the app with an incomplete configuration, prefix the command like this:`IGNORE_ERRORS=true npm run build`.**`npm run build:js`**: Builds the JavaScript bundle for the app and writes it@@ -33,7 +33,7 @@ build the configuration files.### Grunt tasksGrunt tasks are deprecated, but the following are used by the build scripts-under the hood and available to use if you know what you're doing;+under the hood and available to use if you know what you're doing:**`grunt`**: This is a shortcut for `grunt build config site`.diff --git a/doc/features.md b/doc/features.mdindex 024b3c322..f27ff0d55 100644--- a/doc/features.md+++ b/doc/features.md@@ -12,7 +12,7 @@ edit `options/common/features.json` and set `"dataDownload": true`.## URL ShorteningThis feature uses-[bit.ly](http://bit.ly) to shorten links. Follow these steps to enable it;+[bit.ly](http://bit.ly) to shorten links. Follow these steps to enable it:* Edit `options/common/features.json` and set `"urlShortening": true`.* Get a login and API key from [bit.ly](http://bit.ly).diff --git a/doc/testing.md b/doc/testing.mdindex 9c5c7f59c..5f58cb020 100644--- a/doc/testing.md+++ b/doc/testing.md@@ -18,16 +18,16 @@ build a testable version of Worldview.Run the included end-to-end tests to test the app in Chrome and Firefox. Thetests run the Cucumber features in `./e2e/features` using Nightwatch and Selenium.-To run tests on your machine in Chrome; `npm run e2e:chrome`.+To run tests on your machine in Chrome: `npm run e2e:chrome`.-To run tests on your machine in Firefox;+To run tests on your machine in Firefox:1) [Create a new Firefox profile](https://developer.mozilla.org/en-US/Firefox/Multiple_profiles) called 'nightwatch'.2) Run `npm run e2e:firefox`.-To run tests for both browsers in sequence; `npm run e2e`.+To run tests for both browsers in sequence: `npm run e2e`.-To run tests in BrowserStack;+To run tests in BrowserStack:1) Log into [BrowserStack](https://www.browserstack.com/automate) and get your username and access key from the upper left.2) Add the following to your shell configuration (`.bashrc` or `.profile`);