aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/justfile b/justfile
index e41eef4..c40de35 100644
--- a/justfile
+++ b/justfile
@@ -1,5 +1,8 @@
-run:
- RUST_BACKTRACE=1 cargo run
+run-debug:
+ @RUST_BACKTRACE=1 cargo run $@
build:
- cargo build --release
+ @cargo build --release
+
+start-postgres:
+ @docker start secd-db || docker run -d --name secd-db -e POSTGRES_PASSWORD=p4ssw0rd -e POSTGRES_USER=secduser -e POSTGRES_DB=secd -p 5412:5432 postgres:12 -c log_statement=all