From b706a16e6bcd24e652e82b7ef2dd051c96ed738c Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Thu, 28 Dec 2023 12:45:11 +0100 Subject: [PATCH] Improve usage message --- core/admin/run_dev.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/admin/run_dev.sh b/core/admin/run_dev.sh index 3d1fc771..2451bc5f 100755 --- a/core/admin/run_dev.sh +++ b/core/admin/run_dev.sh @@ -137,10 +137,10 @@ ${docker/*\/} exec -it "${DEV_NAME}" /bin/bash ============================================================================= -To update requirements-prod.txt you can build (and test) using: -${docker/*\/} build --tag "${DEV_NAME}:latest" --build-arg MAILU_DEPS=dev . +To update requirements-prod.txt you can build mailu using the dev requirements: +"$0" --build-arg MAILU_DEPS=dev -And then fetch the new dependencies with: +And then copy the new dependencies: ${docker/*\/} exec "${DEV_NAME}" pip freeze >$(realpath "${base}")/requirements-new.txt =============================================================================