InstallContentTool - merkator-software/GaiaBuilder-manual GitHub Wiki
Run the InstallContentTool from the command line using Propy.bat from the ArcGIS Pro or ArcGIS Server installation directory:
"C:\miniconda3\envs\gaiabuilder\python.exe" InstallContent_lite.py -f <serviceDefinition> -s <server>
The following parameters are used as input to the script:
- -f / serviceDefinition= Required, json file containing the Mapservice configuration
- -s / server= Required, server configuration to use from json and global ini file
- -u / user= Optional, Portal build in username with publisher rights. Use the USER Environment variable to pass the username from the build server to GaiaBuilder more secure
- -p / password= Optional, Portal build in user password. Use the PASSWORD Environment variable to pass the username from the build server to GaiaBuilder more secure
- USER : the Portal or ArcGIS Online Build-in User username
- PASSWORD : the Portal or ArcGIS Online Build-in User password
- API_KEY : API Key on ArcGIS Enterprise 11.5 or ArcGIS Online. This is an alternative to user/password sign in and no build-in user credentials have to be used