Quick Start Script for ArcGIS Experience Builder
If you develop with ArcGIS Experience Builder, you know that getting started is a multi-step process. It would be nice to get started a little more quickly.
Here’s a simple Windows batch script that will do that. It installs the dependencies, if necessary, and then starts up the Experience Builder server.
if exist ArcGISExperienceBuilder/client/node_modules\ ( cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\client; npm start" cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\server; npm start" ) else ( cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\client; npm ci; npm start" cmd /c start powershell -noexit -command "cd ArcGISExperienceBuilder\server; npm ci; npm start" ) start http://localhost:3000
- Download the Experience Builder developer edition zip file.
- Extract the Zip files. I use 7-zip and just use the “Extract here” button - this will create a folder called
ArcGISExperienceBuilderat the same level as the zip file.
- Create a file called
- Right-click the file and click
Edit. Copy/paste the code above.
- Double-click the file.
Note: make sure the
.cmd file you create is that the same level (siblings) as the
Written by Gavin Rehkemper on
Get an email summary of my blog posts (four per year):
... or follow the blog here: