From 80afc67f0a0d0fa6845dd108efc9e0addb7b26ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabor=20K=C3=B6rber?= Date: Fri, 29 Dec 2023 21:55:23 +0100 Subject: [PATCH] refactor(Justfile): status --- Justfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Justfile b/Justfile index 2022880..116c5c3 100644 --- a/Justfile +++ b/Justfile @@ -2,20 +2,23 @@ set dotenv-load := true default: @echo "# Miniweb Project" - @just --list + @just --list -u -# Run Bins +# Run the project (just run), or commands with --bin (just run ) run args='miniweb': @cargo run --bin {{args}} status: - sea-orm-cli status + @echo "Docker Images:" + cd docker && docker-compose ls + @echo "Database Status:" + sea-orm-cli migrate status -# Start PostgreSQL +# Start PostgreSQL Docker pg-up: cd docker && docker-compose up -d -# Stop PostgreSQL +# Stop PostgreSQL Docker pg-down: cd docker && docker-compose down