-
Notifications
You must be signed in to change notification settings - Fork 21
Deploy with Anaconda
-
Install Anaconda
-
Create a folder named
gateway
-
Copy
selfsign.py
intogateway
folder -
Copy the
insights-base.yml
file into thegateway
folder. -
Open Anaconda's command prompt and CD into the
gateway
folder -
Run below commands
conda env create -f insights-base.yml conda activate insights-base python selfsign.py
-
Start the Kernel Gateway:
-
Run this command if using Insights in ArcGIS Enterprise
jupyter kernelgateway --KernelGatewayApp.ip=0.0.0.0 --KernelGatewayApp.port=9999 --KernelGatewayApp.allow_origin='*' --KernelGatewayApp.allow_credentials='*' --KernelGatewayApp.allow_headers='*' --KernelGatewayApp.allow_methods='*' --JupyterWebsocketPersonality.list_kernels=True --certfile=./server.crt --keyfile=./server.key
-
Run this command if using Insights Desktop
jupyter kernelgateway --KernelGatewayApp.ip=0.0.0.0 --KernelGatewayApp.port=9999 --KernelGatewayApp.allow_origin='*' --KernelGatewayApp.allow_credentials='*' --KernelGatewayApp.allow_headers='*' --KernelGatewayApp.allow_methods='*' --JupyterWebsocketPersonality.list_kernels=True
-
Open the kernel gateway url (usually, it's
https://machine_name.domain_name.com:9999/api
) in the browser before using it to connect in the Insights web application and bypass the security exceptions. Please refer to the bypassing security exceptions for Chrome, Safari and Firefox browsers. -
Optional: Stop Kernel Gateway by pressing Control-C in the running window or close the window
Note: If you would like to access your data in the scripting environment, create a data
folder within gateway
folder and put your files in it. Then, activate your conda environment after CD'ng into the data
folder and run the appropriate gateway command to start the gateway.
-
Install Anaconda
-
Create a folder named
gateway
-
Copy
selfsign.py
intogateway
folder -
Copy the
insights-latest.yml
file into thegateway
folder. -
Open Anaconda's command prompt and CD into the
gateway
folder -
Run below commands
conda env create -f insights-latest.yml conda activate insights-latest python selfsign.py
-
Start the Kernel Gateway:
-
Run this command if using Insights in ArcGIS Enterprise
jupyter kernelgateway --KernelGatewayApp.ip=0.0.0.0 --KernelGatewayApp.port=9999 --KernelGatewayApp.allow_origin='*' --KernelGatewayApp.allow_credentials='*' --KernelGatewayApp.allow_headers='*' --KernelGatewayApp.allow_methods='*' --JupyterWebsocketPersonality.list_kernels=True --certfile=./server.crt --keyfile=./server.key
-
Run this command if using Insights Desktop
jupyter kernelgateway --KernelGatewayApp.ip=0.0.0.0 --KernelGatewayApp.port=9999 --KernelGatewayApp.allow_origin='*' --KernelGatewayApp.allow_credentials='*' --KernelGatewayApp.allow_headers='*' --KernelGatewayApp.allow_methods='*' --JupyterWebsocketPersonality.list_kernels=True
-
Open the kernel gateway url (usually, it's
https://machine_name.domain_name.com:9999/api
) in the browser before using it to connect in the Insights web application and bypass the security exceptions. Please refer to the bypassing security exceptions for Chrome, Safari and Firefox browsers. -
Optional: Stop Kernel Gateway by pressing Control-C in the running window or close the window
Note: If you would like to access your data in the scripting environment, create a data
folder within gateway
folder and put your files in it. Then, activate your conda environment after CD'ng into the data
folder and run the appropriate gateway command to start the gateway.
Get Started
Connecting to the Kernel
General Features
Deployment Patterns
Frequently asked questions