From 0e77f7be5efdc9e8b4bdef5e8ac94ce8dfa8b155 Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Thu, 4 May 2023 22:44:02 +0200 Subject: [PATCH] justfile: start web server with in memory database --- crates/ezidam/justfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/ezidam/justfile b/crates/ezidam/justfile index 32eb212..eba314a 100755 --- a/crates/ezidam/justfile +++ b/crates/ezidam/justfile @@ -13,3 +13,7 @@ start: # dev server dev: {{cargo}} watch -x "run" + +# start with temporary database +tmp: + ROCKET_PORT=8001 ROCKET_DATABASES='{ezidam={url=":memory:"}}' {{cargo}} run