Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make running Postgres locally easy #17

Open
tm-kn opened this issue Nov 23, 2023 · 0 comments
Open

Make running Postgres locally easy #17

tm-kn opened this issue Nov 23, 2023 · 0 comments
Labels
Developer experience documentation Improvements or additions to documentation

Comments

@tm-kn
Copy link
Member

tm-kn commented Nov 23, 2023

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.

@tm-kn tm-kn changed the title Local setup: Make running Postgres easy Make running Postgres locally easy Nov 23, 2023
@tm-kn tm-kn added the documentation Improvements or additions to documentation label Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer experience documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant