From 6a831b8f59dcd48dca2d98f8f593707e0846860d Mon Sep 17 00:00:00 2001 From: Fabien Ancelin Date: Wed, 1 May 2019 13:39:37 -0400 Subject: [PATCH] Fixes #8 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 283a602..8ea669c 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This application has no data requirements. ## Deploying 1. To deploy this application, download the template from Portal/ArcGIS Online and unzip it. -2. Install npm and run npm install via command line then run npm run build. +2. Install npm and run npm install via command line then run `npm run deploy`. 3. Copy the unzipped folder containing the web app template files, such as index.html, to your web server. You can rename the folder to change the URL through which users will access the application. By default the URL to the app will be `http:////dist/index.html` 4. Change the sharing host, found in defaults.js inside the config folder for the application, to the sharing URL for ArcGIS Online or Portal. For ArcGIS Online users, keep the default value of www.arcgis.com or specify the name of your organization. - ArcGIS Online Example: `"sharinghost": location.protocol + "//" + “.maps.arcgis.com`