wagtail / wagtail-vector-index

Store Wagtail pages & Django models as embeddings in vector databases
https://wagtail-vector-index.readthedocs.io/en/latest/
MIT License
18 stars 12 forks source link

Make running Postgres locally easy #17

Open tm-kn opened 11 months ago

tm-kn commented 11 months ago

Consider using Docker Compose or adding a docker command to README. I currently run the following:

docker run --name wagtail-vector-index-postgres -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 -d ankane/pgvector
export DATABASE_URL=postgres://postgres@localhost/postgres
./testmanage.py runserver

There's no need for this to be a manual step each time.