Run as a Windows service

Rather than clicking the startup.bat file to start Web AppBuilder for ArcGIS, you can run it as a Windows service.

Run as a Windows Service without a proxy

Run Web AppBuilder as a Windows service without a proxy using the following steps:

  1. Install Node.js on your Windows platform.
  2. Run the Command Prompt as administrator.
  3. cd to the /server directory of the Web AppBuilder installation.
  4. Run the command npm run-script install-windows-service.
  5. Start the ArcGISWebAppBuilder service from the Services window.
  6. To remove the ArcGISWebAppBuilder service, run the command npm run-script uninstall-windows-service.

Run as a Windows service with a proxy

Further, you can run Web AppBuilder as a Windows service with a proxy using the following steps:

  1. Install Node.js on your Windows platform.
  2. Open the /~server/package.json file.
  3. Replace the line "start": "node server.js" with "start": "node server.js -proxy=<http://your proxy>" and save the file.
  4. Run the Command Prompt as administrator.
  5. cd to the /server directory of the Web AppBuilderinstallation.
  6. Run the command npm run-script install-windows-service.
  7. Start the ArcGISWebAppBuilder service from the Services window.
  8. To remove the ArcGISWebAppBuilder service, run the command npm run-script uninstall-windows-service.