about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-02-14 15:16:55 +0300
committerVika <vika@fireburn.ru>2022-02-14 15:16:55 +0300
commitd1327ed6b28a49770aa5d9b06245aa063b406f78 (patch)
tree784446ffdf2ee6d8efe4c1640b537ed92f6515d3
parent287449b98ccd1a223ef2b1668eca4c0d5e52ad50 (diff)
Added a dev env script
-rw-r--r--.gitignore3
-rwxr-xr-xdev.sh9
2 files changed, 11 insertions, 1 deletions
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