Run Experience Builder Developer Edition as a Windows service

1963
4
Jump to solution
04-19-2021 07:34 AM
Labels (1)
HeatherStanton
New Contributor II

I would like to share Experience Builder Developer Edition across our entire GIS Team, and would like to run it as a Windows service on a server using a service account, similar to Web AppBuilder Developer Edition. There's a great blog post on how to do this with Web AppBuilder Developer Edition here

Has anyone had success running Experience Builder Developer Edition as a Windows service? Is this an acceptable pattern?

1 Solution

Accepted Solutions
DerrickWong
Esri Contributor

Hi @HeatherStanton and @Benjamin_LEDOS ,

As of v1.4, You can now do so using the command npm run install-windows-service.

Have a read here for more information:

https://developers.arcgis.com/experience-builder/guide/install-guide/#install-as-a-windows-service

 

Hope that helps.


Derrick

View solution in original post

4 Replies
Benjamin_LEDOS
New Contributor II

I ask myself exactly the same question and the answer is not as simple as it might seem 😐

The startup of ArcGIS Web AppBuilder is with Node.js But in server configuration (load server.json)

 

 OFF
SETLOCAL EnableDelayedExpansion
TITLE Web AppBuilder for ArcGIS
SET serverPath=server
SET serverjsFile=server.js
SET port=3344
SET wabVirtualPath=webappbuilder
SET portTaken=0
IF DEFINED USERDNSDOMAIN (SET FQDN=%COMPUTERNAME%.%USERDNSDOMAIN%) ELSE (SET FQDN=%COMPUTERNAME%)
IF DEFINED PROGRAMFILES(X86) (SET nodeFile=node_x64.exe) ELSE (SET nodeFile=node_x86.exe)
...

 

To start EXB, we launch an application running under Node.js and autocall package.json where is the .bat file

 

npm start

 

I am not a Node.js specialist 😊

Thank you for any inputs,
Benjamin
0 Kudos
Benjamin_LEDOS
New Contributor II

I found an interesting lead thanks to the post of Peter Eysermans : installing-a-node-application-as-a-windows-service 

and this github : node-windows

But it does not work yet but it is progressing 😋

Thank you for any inputs,
Benjamin
0 Kudos
DerrickWong
Esri Contributor

Hi @HeatherStanton and @Benjamin_LEDOS ,

As of v1.4, You can now do so using the command npm run install-windows-service.

Have a read here for more information:

https://developers.arcgis.com/experience-builder/guide/install-guide/#install-as-a-windows-service

 

Hope that helps.


Derrick

HeatherStanton
New Contributor II

Thank you for bringing this to my attention! I really appreciate it.