diff --git a/docs/latest/SUMMARY.md b/docs/latest/SUMMARY.md index 89503f61e..b483ba885 100644 --- a/docs/latest/SUMMARY.md +++ b/docs/latest/SUMMARY.md @@ -36,14 +36,16 @@ - [Stand-alone](deployment/index.md#stand-alone-viewer) - [Data]() - Recipes - - [Embedding the Viewer](deployment/recipes/embedded-viewer.md) - - [Build for Production](deployment/recipes/build-for-production.md) - - [PWA: Static]() - - [PWA: Docker]() - - [PWA: Nginx + Orthanc]() - - [PWA: Nginx + dcm4chee]() - - [PWA: Nginx + DICOMCloud]() - - [PWA: User Access Control]() + - Script Include + - [Embedding the Viewer](deployment/recipes/embedded-viewer.md) + - Stand-Alone + - [Build for Production](deployment/recipes/build-for-production.md) + - [Static]() + - [Docker]() + - [Nginx + Orthanc]() + - [Nginx + dcm4chee]() + - [Nginx + DICOMCloud]() + - [User Access Control]() --- diff --git a/docs/latest/deployment/recipes/build-for-production.md b/docs/latest/deployment/recipes/build-for-production.md index 3a0cea540..c8a19246c 100644 --- a/docs/latest/deployment/recipes/build-for-production.md +++ b/docs/latest/deployment/recipes/build-for-production.md @@ -4,7 +4,7 @@ > ["Getting Started" Guide](/essentials/getting-started.md), you can skip ahead > to [Configuration](#configuration) -## Overview? +## Overview ### Build Machine Requirements @@ -57,7 +57,10 @@ build └── ... ``` -These files can be hosted using +By default, the build output will connect to OHIF's publicly accessible PACS. If +this is your first time setting up the OHIF Viewer, it is recommended that you +test with these default settings. After testing, you can find instructions on +how to configure the project for your own imaging archive below. ### Configuration @@ -73,6 +76,21 @@ These files can be hosted using TODO: List of recipes +### Testing Build Output Locally + +A quick way to test your build output locally is to spin up a small webserver. +You can do this by running the following commands in the `build/` output +directory: + +```js +// Install http-server as a globally available package +yarn global add http-server + +// Serve the files in our current directory +// Accessible at: `http://localhost:8080` +http-server +``` + ### Automating Builds and Deployments If you found setting up your environmnent and running all of these steps to be a