Skip to main content

App Setup

Create a New Tethys App

To begin working with the workflows extension, you'll need to setup a new app. To do this follow the steps on this page: Creating a New App.

Add Dependencies

Next, add some dependencies that will be required later in the tutorial. These packages provide functionality your workflow will utilize. Add these packages to the requirements section of your install.yml file of your app:

requirements:
# Putting in a skip true param will skip the entire section. Ignoring the option will assume it be set to False
skip: false
conda:
channels:
- conda-forge
packages:
- gdal
- pyproj
- timezonefinder

You can install these packages manually with this command:

conda install -c conda-forge gdal pyproj timezonefinder

Solution

This concludes the App Setup portion of the Tethys Workflows Extension Tutorial. You can view the solution on GitHub at https://github.com/Aquaveo/tethysapp-workflows_tutorial or clone it as follows:

git clone https://github.com/Aquaveo/tethysapp-workflows_tutorial.git
cd tethysapp-workflows_tutorial
git checkout -b new-app-setup-step new-app-setup-step-complete