justfile: start web server with in memory database

This commit is contained in:
Philippe Loctaux 2023-05-04 22:44:02 +02:00
parent 6ef88e79a1
commit 0e77f7be5e

View file

@ -13,3 +13,7 @@ start:
# dev server # dev server
dev: dev:
{{cargo}} watch -x "run" {{cargo}} watch -x "run"
# start with temporary database
tmp:
ROCKET_PORT=8001 ROCKET_DATABASES='{ezidam={url=":memory:"}}' {{cargo}} run