$ git clone https://github.com/gitcoinco/search
$ cd search
$ poetry installNote: installation might currently be broken on some systems, see python-poetry/poetry#8458 for workarounds.
Copy .env.example to .env and customize it.
Run:
poetry run task devUseful URLs:
- a UI testbed http://localhost:8000/static/index.html
- API docs: http://localhost:8000/docs
Run tests one-shot:
poetry run task testRun tests continuously:
poetry run task test_watchBuild locally:
$ docker buildx build . --platform=linux/amd64 -t gitcoin-searchCustomize env variables in fly.production.toml.
Build and deploy to Fly:
$ fly -c fly.production.toml deploy