about summary refs log tree commit diff
path: root/dev.sh
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2023-07-30 02:37:23 +0300
committerVika <vika@fireburn.ru>2023-07-30 02:37:23 +0300
commitb745013301369fff3d6f2e10702bba3549509c18 (patch)
treeca8341a7687f75c6c16994f5c03bcf89deac00c4 /dev.sh
parent0617663b249f9ca488e5de652108b17d67fbaf45 (diff)
.envrc: add env vars for Kittybox launches directly
This avoids the need for the ./dev.sh script, except when `cargo watch`
is involved.
Diffstat (limited to 'dev.sh')
-rwxr-xr-xdev.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/dev.sh b/dev.sh
index 979b85a..a2b2c8e 100755
--- a/dev.sh
+++ b/dev.sh
@@ -1,14 +1,5 @@
 #!/bin/sh
-if [[ -z $KITTYBOX_LOG ]]; then
-    export KITTYBOX_LOG="kittybox=debug,retainer::cache=warn,h2=info,rustls=info,tokio=info,tower_http::trace=debug,sqlx=trace"
-fi
-#export BACKEND_URI=file://./test-dir
-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
-#export COOKIE_SECRET_FILE=/dev/null
+
 if [[ "$1" == "watch" ]]; then
 	shift
 	exec systemfd --no-pid -s http::8080 -- cargo watch \