mirror of
https://github.com/opus-tango/socialdb-sh.git
synced 2026-03-20 03:55:27 +00:00
update readme with db setup instructions
This commit is contained in:
@@ -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.
|
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 <POSTGRES_USER> -d <POSTGRES_DB>` to get into the database.
|
||||||
|
- Run `CREATE EXTENSION IF NOT EXISTS vector;` to create the vector extension.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
|
This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.
|
||||||
|
|
||||||
### db command
|
### db command
|
||||||
|
|
||||||
docker compose exec db psql -U socialdb -d socialdb-db
|
|
||||||
|
|||||||
Reference in New Issue
Block a user