SkylineGlobe Server for Windows can be deployed in two different ways. Each method requires the same basic setup and prerequisites, but offers different options for integration, automation, and control:
Option 1: Manual Running of SGS
To manually run:
- Download and extract the SGS application files.
- Copy the license file to the SkylineGlobe Server application files folder.
- Prepare the configuration file:
- Copy the appsettings.sample.jsonc file from the \SG folder in the SGS package you downloaded in step 1.
- Rename the file to appsettings.json and place it in the root of the SkylineGlobe Server application folder.
- Enable TLS (commonly referred to as SSL) to secure SGS and ensure access to TerraExplorer Fusion, which operates exclusively over HTTPS. More about: Security Configuration Options for SkylineGlobe Server Deployment >
- Open the appsettings.json file and uncomment and update the parameters you need to configure. More about: SGS Deployment Settings>
Common parameters include:- CatalogDBType: The type of database to use. Options: SQLite (default) or PostgreSQL.
- PublicUrl: The public-facing service URL used in WMS/WFS/WMTS responses.
- LicenseServerURL: The URL of the floating license server. This parameter is required only when using a floating license. The license file must be placed in the root of the server directory, and this parameter should be set to that location, e.g., "LicenseServerURL": https://cloud.skylineglobe.com/sws/[YOUR_LICENSE_TOKEN].
- Double-click SkylineGlobeServer.exe. The server will launch in a console window.
- Access SGS at: http://localhost:5000, or the port you configured if different. The SkylineGlobe Server Manager Login page is displayed.
- Enter your user name and password in the respective fields. The default user name and password after deployment are admin and admin (lower-case). The Change default administrator password page is displayed.
- Enter a new password for the admin user.
- To stop SGS, close the console window or press Ctrl+C in the command prompt window.
Option 2: Running SGS as a Windows Service
To run as a Windows Service:
- Download and extract the SGS application files.
- Place the SkylineGlobe Server application folder and license file on the target machine.
- Enable TLS (commonly referred to as SSL) to secure SGS and ensure access to TerraExplorer Fusion, which operates exclusively over HTTPS. More about: Security Configuration Options for SkylineGlobe Server Deployment >
- Open the appsettings.json file and uncomment and update the parameters you need to configure. More about: SGS Deployment Settings>
Common parameters include:- CatalogDBType: The type of database to use. Options: SQLite (default) or PostgreSQL.
- PublicUrl: The public-facing service URL used in WMS/WFS/WMTS responses.
- LicenseServerURL: The URL of the floating license server. This parameter is required only when using a floating license. The license file must be placed in the root of the server directory, and this parameter should be set to that location, e.g., "LicenseServerURL": https://cloud.skylineglobe.com/sws/[YOUR_LICENSE_TOKEN].
- Double-click the StartService.bat file included in the application folder, to install and start SGS as a service. The service will run under the account associated with the entered credentials. This opens the command prompt.
- Press any key. The script opens the NSSM Service Editor dialog.
- In the Log on tab, type your Windows user name and password to specify the service account under which SGS should run.
- Click Edit service to finish setup.
- To stop and remove the service, use StopService.bat. Note that NSSM (Non-Sucking Service Manager) is bundled for managing the Windows service.
- Unless defined otherwise in step 3, access SGS at: http://localhost:5000