From b745013301369fff3d6f2e10702bba3549509c18 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 30 Jul 2023 02:37:23 +0300 Subject: .envrc: add env vars for Kittybox launches directly This avoids the need for the ./dev.sh script, except when `cargo watch` is involved. --- .envrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.envrc') diff --git a/.envrc b/.envrc index 9ae9b76..a567465 100644 --- a/.envrc +++ b/.envrc @@ -6,3 +6,9 @@ if has nix; then nix_direnv_watch_file ./shell.nix use flake . fi +export RUST_LOG="kittybox=trace,sqlx=trace,tower_http::trace=debug,info" +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 -- cgit 1.4.1