- Install node and pollinations-ipfs
- Install this repo
# Install dependencies
pip install -e ".[test]"
# Install pre-commit hooks
brew install pre-commit
pre-commit install -t pre-commit
- Add your jwt secret to
.env
python rest_pollen/main.py
Build the image
docker build -t rest .
Start the dockererized backend:
docker run -p 5000:5000 --env-file .env rest
python test/client.py
pytest test --cov
Start a server, then open the openapi docs. Can be viewed in swagger editor.