Web AppBuilder for ArcGIS (Developer Edition)

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

To run Web AppBuilder as a Windows service without a proxy, complete the following steps:

  1. Install Node.js on your Windows platform.
  2. Run the command prompt as administrator.
  3. Change the directory (cd) to the /server directory of the Web AppBuilder installation.
  4. Run the command npm run-script install-windows-service.
  5. Start the Web AppBuilder for ArcGIS service from the Services window.
  6. To remove the Web AppBuilder for ArcGIS 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 by completing 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. Change the directory (cd) to the /server directory of the Web AppBuilder installation.
  6. Run the command npm run-script install-windows-service.
  7. Start the Web AppBuilder for ArcGIS service from the Services window.
  8. To remove the Web AppBuilder for ArcGIS service, run the command npm run-script uninstall-windows-service.