In a new virtual environment:
pip install prefect requests sympy
Configure your local settings and then run the server
prefect config set PREFECT_API_URL="http://127.0.0.1:4200/api"
prefect server start
If you prefer to run the server in Docker:
prefect config set PREFECT_API_URL="http://127.0.0.1:4200/api"
docker run -p 4200:4200 -d --rm prefecthq/prefect:3-latest -- prefect server start --host 0.0.0.0
Once the above steps are complete, just write python with the appropriate @flow and @task decorators.
To submit a run or deployment, bounce your script off of python:
python determine_prime.py
And then open your browser to http://127.0.0.1:4200/dashboard to monitor.