Use Python 3.11
docker run -it --rm --volume .:/app --workdir /app --volume ~/.prefect:/root/.prefect python:3.11 bash
(Only for first time setup) Create a virtual environment: python -m venv env
Enter your virtual environment: source ./env/bin/activate
(Only for first time setup) Install dependencies pip install -r requirements.txt
Ensure you have RolyPoly credentials
/set-password
command in the #commands channel of the Sprocket Discord server if you need to set a password/test-login
and /update-password
commands respectively if you don't remember your passwordConfigure Prefect to talk to Sprocket Prefect
prefect config set PREFECT_API_URL="https://[discord username]:[rolypoly password]@prefect.spr.ocket.dev/api"
!
will become %21
Test connection with: prefect deployment ls
Now you can test all runs with: python ./src/flows/process-query-directory.py