This commit is contained in:
Slaviša Arežina 2025-12-09 16:02:38 +01:00 committed by GitHub
parent 02da3fc888
commit 5ad841da76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 7 deletions

View File

@ -12,7 +12,7 @@
"interface_port": 5690, "interface_port": 5690,
"documentation": "https://docs.wizarr.dev/", "documentation": "https://docs.wizarr.dev/",
"website": "https://docs.wizarr.dev/", "website": "https://docs.wizarr.dev/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@master/webp/wizarr.webp", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/wizarr.webp",
"config_path": "/opt/wizarr/.env", "config_path": "/opt/wizarr/.env",
"description": "Wizarr is an automatic user invitation system for Plex, Jellyfin and Emby. Create a unique link and share it to a user and they will automatically be invited to your media Server", "description": "Wizarr is an automatic user invitation system for Plex, Jellyfin and Emby. Create a unique link and share it to a user and they will automatically be invited to your media Server",
"install_methods": [ "install_methods": [

View File

@ -19,25 +19,23 @@ msg_ok "Installed Dependencies"
setup_uv setup_uv
NODE_VERSION="22" setup_nodejs NODE_VERSION="22" setup_nodejs
fetch_and_deploy_gh_release "wizarr" "wizarrrr/wizarr" fetch_and_deploy_gh_release "wizarr" "wizarrrr/wizarr" "tarball"
import_local_ip
msg_info "Configure Wizarr" msg_info "Configure Wizarr"
cd /opt/wizarr || exit cd /opt/wizarr
$STD /usr/local/bin/uv sync --frozen $STD /usr/local/bin/uv sync --frozen
$STD /usr/local/bin/uv run --frozen pybabel compile -d app/translations $STD /usr/local/bin/uv run --frozen pybabel compile -d app/translations
$STD npm --prefix app/static install $STD npm --prefix app/static install
$STD npm --prefix app/static run build:css $STD npm --prefix app/static run build:css
mkdir -p ./.cache mkdir -p ./.cache
LOCAL_IP="$(hostname -I | awk '{print $1}')"
VERSION="$(sed 's/^20/v&/' ~/.wizarr)"
cat <<EOF >/opt/wizarr/.env cat <<EOF >/opt/wizarr/.env
FLASK_ENV=production FLASK_ENV=production
GUNICORN_WORKERS=4 GUNICORN_WORKERS=4
APP_URL=http://${LOCAL_IP} APP_URL=http://${LOCAL_IP}
DISABLE_BUILTIN_AUTH=false DISABLE_BUILTIN_AUTH=false
LOG_LEVEL=INFO LOG_LEVEL=INFO
APP_VERSION=${VERSION} APP_VERSION=v$(get_latest_github_release "wizarrrr/wizarr")
EOF EOF
cat <<EOF >/opt/wizarr/start.sh cat <<EOF >/opt/wizarr/start.sh