From cb189cb4b896ec5aa930d54c2f9ae3e9c0a70f8e Mon Sep 17 00:00:00 2001 From: Nayan Sawyer <33187059+opus-tango@users.noreply.github.com> Date: Fri, 13 Mar 2026 19:42:47 -0400 Subject: [PATCH] update readme with db setup instructions --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c446a9c..c736540 100644 --- a/README.md +++ b/README.md @@ -48,10 +48,12 @@ It's still in the early stages of development, so it's not yet ready for product I can't get file watching to work with the docker compose file, so I'm running the dev server natively, with postgres in a container. +- Use `docker comose up -d` to start the database. +- Use `docker compose exec db psql -U -d ` to get into the database. +- Run `CREATE EXTENSION IF NOT EXISTS vector;` to create the vector extension. + ## License This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details. ### db command - -docker compose exec db psql -U socialdb -d socialdb-db