Files
lollms_hub/reset_admin_password.sh
Saifeddine ALOUI b5c2dfdade chore(rebrand): rename project from "Ollama Proxy Fortress" to "lollms hub"
Update all project references, documentation, and assets to reflect the new
branding. Changes include:
- Rename application references in README, CONTRIBUTING, DEVELOPMENT
- Update default database filename from ollama_proxy.db to lollms_hub.db
- Update .env.example header and bootstrap configuration
- Adjust .gitignore for new database name
- No functional code changes, purely cosmetic rebranding
2026-03-22 01:12:20 +01:00

34 lines
970 B
Bash

#!/bin/bash
set -euo pipefail
# ====================================================================
#
# LoLLMs Hub Fortress - Admin Password Reset Runner
#
# ====================================================================
VENV_DIR="venv"
COLOR_RESET='\e[0m'; COLOR_INFO='\e[1;34m'; COLOR_ERROR='\e[1;31m'
print_info() { echo -e "${COLOR_INFO}[INFO]${COLOR_RESET} $*"; }
print_error() { echo -e "${COLOR_ERROR}[ERROR]${COLOR_RESET} $*" >&2; }
# --- Check if virtual environment exists ---
if [ ! -d "$VENV_DIR" ]; then
print_error "Python virtual environment not found at './${VENV_DIR}'."
print_error "Please run './run.sh' first to complete the setup."
exit 1
fi
# --- Activate virtual environment and run the script ---
print_info "Activating Python virtual environment..."
source "${VENV_DIR}/bin/activate"
print_info "Running the admin password reset script..."
echo
python reset_admin_password.py
echo
print_info "Script finished."