about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-07-08 21:51:58 +0300
committerVika <vika@fireburn.ru>2024-07-08 21:51:58 +0300
commited949a90e108e00776ed9bfafbbabec14df580e1 (patch)
tree92017e315befb94b4717d5581249b712b552233f
parent8338258fda46eac8dda0380eeffba2ef42b76465 (diff)
downloadkittybox-ed949a90e108e00776ed9bfafbbabec14df580e1.tar.zst
.envrc: add DATABASE_URL for `cargo test` to work
-rw-r--r--.envrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index a567465..31d3b45 100644
--- a/.envrc
+++ b/.envrc
@@ -11,4 +11,6 @@ export BACKEND_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql"
 export JOB_QUEUE_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql"
 export BLOBSTORE_URI=file://./media-store
 export AUTH_STORE_URI=file://./auth-store
-export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz
\ No newline at end of file
+export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz
+# Add DATABASE_URL for `cargo test` invocations
+export DATABASE_URL="postgres://localhost?dbname=kittybox&host=/run/postgresql"
\ No newline at end of file