From fba7cc9c8e835b15bb9d020d4a862a1d67af7dcf Mon Sep 17 00:00:00 2001 From: RakeshNara10 Date: Thu, 9 Jan 2025 09:48:08 +0530 Subject: [PATCH] add DATABASE_URL export to Makefile --- api/makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/api/makefile b/api/makefile index e8c453506..79a2b55b8 100644 --- a/api/makefile +++ b/api/makefile @@ -4,6 +4,7 @@ dev: ollama serve & ollama pull mxbai-embed-large supabase db reset + export DATABASE_URL=postgres://postgres:postgres@127.0.0.1:54322/postgres && \ diesel migration run && \ PGPASSWORD=postgres psql -h 127.0.0.1 -p 54322 -d postgres -U postgres -f src/database/seed.sql && \ export RUST_LOG=debug