Setting up your workflow environment
Prerequisites
You need to have the env repository up to date.
And add this export to your .bashrc or .zshrc file:
export DEEPOMATIC_CONFIG_DIR={PATH_TO_DEEPOMATIC_ENV_REPO}
Export the necessary environment variables
Typically stored at the root of your project in an untracked .env
file, some environment variables need to be set. Don't forget to source this file before executing your workflow.
Install the deepomatic-workflows library
Currently, it lives inside the deepomatic-workflows
repository, so you should first clone it :
For now, this repository still contains the old version of the workflows, so you need to switch to the v2
branch :
Then, inside your favorite virtualenv (a clean one in python 3.8.13 preferably), you can install the CLI :
If the installation goes smoothly, you should have a new command named wf_client
: