Interactive interface for browsing global, full-resolution satellite imagery
update config path consistency, fix old use of options directory, add docker config doc
Ed Platob20bdb9e1ed7
diff --git a/doc/branding.md b/doc/branding.mdindex 47d2f041b..39d0844ad 100644--- a/doc/branding.md+++ b/doc/branding.md@@ -5,7 +5,7 @@ To add custom branding to Worldview,## Customizing-Update the following fields in `options/common/brand.json` with custom branding:+Update the following fields in `config/default/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`).@@ -17,7 +17,7 @@ the following instead:* `officalName`: Full name of the application (i.e. `EOSDIS Worldview`).* `shortName`: Short name of the application (i.e. `Worldview`).-To add a logo, replace `options/common/brand/images/wv-logo.png` with an image+To add a logo, replace `config/default/common/brand/images/wv-logo.png` with an imagethat is 247x45 pixels.## Rebuildingdiff --git a/doc/configuration.md b/doc/configuration.mdindex adc3764c2..12d76c5e2 100644--- a/doc/configuration.md+++ b/doc/configuration.md@@ -24,10 +24,13 @@ and update layer configurations; then use `npm run build:config` to rebuild theconfiguration for use by the application. Run these commands separatelyas needed or use `npm run updateconfig` as a shortcut to run both.+For the purposes of this documentation, all `config` paths with exclude the parent default directory+`config/default/common/` and use that directory as the base. Therefore, `config/default/common/config/palettes-custom.json` will be written as `config/palettes-custom.json`.+### Subdirectories-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+If you have a custom configuration in a subdirectory of `config/` other than+`config/release/`, pass in the name of the subdirectory to use with`CONFIG_ENV=subdirectory_name npm run build:config`. To build an incomplete configuration,prefix the command like this: `IGNORE_ERRORS=true npm run build:config`.@@ -397,8 +400,9 @@ The minimum set of required properties are as follows:- **title**: Title of the story displayed to the end user. This is displayed in the story overview modal and the story in-progress modal.To display story steps in the in-progress modal, a **steps** object should exist with the following properties:-- **description**: points to a metadata markdown file located in `config/default/common/config/metadata/stories/`_`[story_id]`_`/`+- **description**: points to a metadata markdown file located in `config/metadata/stories/`_`[story_id]`_`/`- **stepLink**: The URL parameters of a linked Worldview instance separated by an `&` symbol (i.e. `p=geographic&t1=2018-12-30`)+Optional **steps** parameter:- **transition**: Advanced Configuration. An object containing an **element** and a custom **action**. These transitions occur between changing steps; these require custom code to target the element and an action to action upon that element.i.e. the following code will play the animation if the animation widget is present.@@ -476,12 +480,12 @@ To display read more links on the end of story modal, a *readMoreLinks* object sNew stories can be added to the Worldview tour modals via the following instructions.-First, stories must be added to `config/wv.json/stories` and `config/wv.json/storyOrder.json`. Then, step descriptions and the overview background image(s) can be added in `config/default/common/config/metadata/stories/`_`[story_id]`_`/`.+First, stories must be added to `config/wv.json/stories` and `config/wv.json/storyOrder.json`. Then, step descriptions and the overview background image(s) can be added in `config/metadata/stories/`_`[story_id]`_`/`.- Add New Tour Storie(s)- Follow [New Tour Stories](configuration.md#new-tour-stories) above to create JSON file in `config/wv.json/stories`.- Add to Story Order- Add to `config/wv.json/storyOrder.json`.- Add story step descriptions/metadata & overview background images- - Create .md file in `config/default/common/config/metadata/stories/`_`[story_id]`_`/`. The *story_id* folder identifier should be labeled the same as the folder identifier in `config/wv.json/stories/`_`[story_id]`_`/`. Each step defined in the metadata folder will need to correspond to the `description` parameter within that file.+ - Create .md file in `config/metadata/stories/`_`[story_id]`_`/`. The *story_id* folder identifier should be labeled the same as the folder identifier in `config/wv.json/stories/`_`[story_id]`_`/`. Each step defined in the metadata folder will need to correspond to the `description` parameter within that file.- Rebuild the configuration with `npm run build:config` for use by the application.diff --git a/doc/docker.md b/doc/docker.mdindex 41dfe19b6..c5192442b 100644--- a/doc/docker.md+++ b/doc/docker.md@@ -9,4 +9,4 @@ The following scripts are available for working with Docker images and container- `npm run docker:restart` - Restart the Docker container- `npm run docker:ci` - Build WV and run the end-to-end tests using Firefox in a headless environment- `npm run docker:shell` - Run an interactive shell inside the container.-+- `npm run docker:shellwin` - Run an interactive shell inside the container (Windows using `winpty`).