From d1327ed6b28a49770aa5d9b06245aa063b406f78 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 14 Feb 2022 15:16:55 +0300 Subject: Added a dev env script --- .gitignore | 3 ++- dev.sh | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 dev.sh diff --git a/.gitignore b/.gitignore index e8dbc27..fbaa011 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ dump.rdb \#*\# .\#* .*~ -*~ \ No newline at end of file +*~ +/test-dir \ No newline at end of file diff --git a/dev.sh b/dev.sh new file mode 100755 index 0000000..1faca15 --- /dev/null +++ b/dev.sh @@ -0,0 +1,9 @@ +#!/bin/sh +export RUST_LOG="debug,retainer::cache=warn,html5ever=info" +export BACKEND_URI=file://./test-dir +export TOKEN_ENDPOINT=https://token.indieauth.com/token +export AUTHORIZATION_ENDPOINT=https://indieauth.com/auth +export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz +#export COOKIE_SECRET_FILE=/dev/null + +exec cargo run --bin kittybox -- cgit 1.4.1