Update how to setup authored by Jakob Grahn's avatar Jakob Grahn
...@@ -32,8 +32,10 @@ i.e. the path to where this repository was downloaded (in step 1) ...@@ -32,8 +32,10 @@ i.e. the path to where this repository was downloaded (in step 1)
## 2. Create ArcGIS Conda environment: ## 2. Create ArcGIS Conda environment:
Open `Start > ArcGIS > Python Command Prompt`: Open `Start > ArcGIS > Python Command Prompt`:
<details>
<summary>Show screen shot</summary>
[[resources/how-to-setup_python-command-prompt.png]] [[resources/how-to-setup_python-command-prompt.png]]
</details>
In the command prompt, type (where `C:\path-to-vpi-codes\` must be changed to the path to the vpi source code as of step 1): In the command prompt, type (where `C:\path-to-vpi-codes\` must be changed to the path to the vpi source code as of step 1):
```bash ```bash
...@@ -43,12 +45,17 @@ conda env update --name vpi --file conda\environment_arcgis.yml ...@@ -43,12 +45,17 @@ conda env update --name vpi --file conda\environment_arcgis.yml
``` ```
Open ArcGIS Pro, go to `Project > Python > Manage Environments` Open ArcGIS Pro, go to `Project > Python > Manage Environments`
<details>
<summary>Show screen shot</summary>
[[resources/how-to-setup_python-package-manager.png]] [[resources/how-to-setup_python-package-manager.png]]
</details>
Activate the environment called `vpi`: Activate the environment called `vpi`:
<details>
<summary>Show screen shot</summary>
[[resources/how-to-setup_manage_environments.png]] [[resources/how-to-setup_manage_environments.png]]
</details>
Restart ArcGIS Pro. Restart ArcGIS Pro.
...@@ -57,9 +64,13 @@ After restarting ArcGIS Pro, go to the catalog pane, left-click `Toolboxes`, cli ...@@ -57,9 +64,13 @@ After restarting ArcGIS Pro, go to the catalog pane, left-click `Toolboxes`, cli
``` ```
C:\path-to-vpi-codes\vpi_arcgis\vpi.pyt C:\path-to-vpi-codes\vpi_arcgis\vpi.pyt
``` ```
<details>
<> [[resources/how-to-setup_add-toolbox.png]] <summary>Show screen shot</summary>
[[resources/how-to-setup_add-toolbox.png]]
</details>
The 2D-InSAR VPI toolbox should appear and be ready for use. The 2D-InSAR VPI toolbox should appear and be ready for use.
<details>
<summary>Show screen shot</summary>
[[resources/how-to-setup_added-toolbox.png]] [[resources/how-to-setup_added-toolbox.png]]
</details>