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