add DATABASE_URL export to Makefile

This commit is contained in:
RakeshNara10 2025-01-09 09:48:08 +05:30
parent b0d65d3839
commit fba7cc9c8e
1 changed files with 1 additions and 0 deletions

View File

@ -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