mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
refactor: update version display in installation script and streamline database migration script
This commit is contained in:
parent
22bd38f346
commit
bb83ee5b85
2 changed files with 7 additions and 20 deletions
|
|
@ -247,7 +247,12 @@ Y88b d88P Y88b 888 888 888 Y88b d88P Y8b. 888 888 X88 Y8b.
|
|||
|
||||
|
||||
EOF
|
||||
printf " Your personal AI-powered search engine ${YELLOW}v${SURFSENSE_VERSION:-latest}${NC}\n"
|
||||
if [[ "${SURFSENSE_VERSION:-latest}" == "latest" ]]; then
|
||||
_version_display="latest"
|
||||
else
|
||||
_version_display="v${SURFSENSE_VERSION}"
|
||||
fi
|
||||
printf " Your personal AI-powered search engine ${YELLOW}[%s]${NC}\n" "${_version_display}"
|
||||
printf "${CYAN}══════════════════════════════════════════════════════════════${NC}\n\n"
|
||||
|
||||
info " Frontend: http://localhost:3000"
|
||||
|
|
|
|||
|
|
@ -132,25 +132,7 @@ wait_for_pg() {
|
|||
success "${label} is ready."
|
||||
}
|
||||
|
||||
# ── Banner ────────────────────────────────────────────────────────────────────
|
||||
printf "\n${BOLD}${CYAN}"
|
||||
cat << 'EOF'
|
||||
|
||||
|
||||
.d8888b. .d888 .d8888b.
|
||||
d88P Y88b d88P" d88P Y88b
|
||||
Y88b. 888 Y88b.
|
||||
"Y888b. 888 888 888d888 888888 "Y888b. .d88b. 88888b. .d8888b .d88b.
|
||||
"Y88b. 888 888 888P" 888 "Y88b. d8P Y8b 888 "88b 88K d8P Y8b
|
||||
"888 888 888 888 888 "888 88888888 888 888 "Y8888b. 88888888
|
||||
Y88b d88P Y88b 888 888 888 Y88b d88P Y8b. 888 888 X88 Y8b.
|
||||
"Y8888P" "Y88888 888 888 "Y8888P" "Y8888 888 888 88888P' "Y8888
|
||||
|
||||
|
||||
EOF
|
||||
printf "${NC}"
|
||||
printf "${CYAN} Data Extraction: All-in-One (PG14) → Migration Dump${NC}\n"
|
||||
printf "${CYAN}══════════════════════════════════════════════════════════════${NC}\n\n"
|
||||
step "Migrating data from legacy database (PostgreSQL 14 → 17)"
|
||||
|
||||
# ── Step 0: Pre-flight checks ─────────────────────────────────────────────────
|
||||
step "0" "Pre-flight checks"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue