Skip to content

Commit def6f0a

Browse files
committed
set DATABASE_URL for sqlx in development
1 parent 34c125c commit def6f0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: .env.sample

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
export DOCSRS_PREFIX=ignored/cratesfyi-prefix
22
export DOCSRS_DATABASE_URL=postgresql://cratesfyi:password@localhost:15432
3+
4+
# for local development with sqlx
5+
export DATABASE_URL="$DOCSRS_DATABASE_URL"
6+
37
export DOCSRS_LOG=docs_rs=debug,rustwide=info
48
# To build with a PR that hasn't landed in a rust dist toolchain yet,
59
# you can set this to the git sha of a try build:

0 commit comments

Comments
 (0)