diff --git a/deploy.sh b/deploy.sh index a1ede2b..1d77d28 100755 --- a/deploy.sh +++ b/deploy.sh @@ -36,6 +36,17 @@ confirm() { # ── Mode detection ──────────────────────────────────────────────────────────── +echo "" +echo " This script covers:" +echo " 1. Database — create user/database, deploy schema + functions" +echo " 2. UI — build from source" +echo " 3. Nginx — reverse proxy config + SSL via certbot" +echo " 4. Service — install and enable systemd unit" +echo " 5. Restart — start or restart the API server" +echo "" +echo " Each step will be confirmed before running." +echo " Press Ctrl+C at any time to abort." + section "Mode" if [ ! -f .env ]; then echo " No .env found — first-time install"