mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-28 23:27:21 +02:00
minor fixes
This commit is contained in:
+1
-1
@@ -92,4 +92,4 @@ description
|
||||
msg_ok "Completed successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW}Access it using the following URL:${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:5797/admin/login${CL}"
|
||||
echo -e "${GATEWAY}${BGN}http://${IP}:5797/admin/${CL}"
|
||||
|
||||
@@ -25,15 +25,12 @@ $STD apt-get install -y \
|
||||
chromium
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
NODE_VERSION="22" NODE_MODULE="@postlight/parser@latest,single-file-cli@latest" setup_nodejs
|
||||
# ArchiveBox drops privileges on import, so its interpreter may not sit in root's home.
|
||||
export UV_PYTHON_INSTALL_DIR="/opt/archivebox/python"
|
||||
PYTHON_VERSION="3.13" setup_uv
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
UV_PYTHON_INSTALL_DIR="/opt/archivebox/python" PYTHON_VERSION="3.13" setup_uv
|
||||
|
||||
msg_info "Installing ArchiveBox"
|
||||
mkdir -p /opt/archivebox/{data,.npm,.cache,.local}
|
||||
$STD adduser --system --shell /bin/bash --gecos 'Archive Box User' --group --disabled-password --home /home/archivebox archivebox
|
||||
# A venv, not --system: the system interpreter is 3.11 and silently caps us at 0.7.4.
|
||||
$STD uv venv --python 3.13 /opt/archivebox/venv
|
||||
$STD uv pip install --python /opt/archivebox/venv/bin/python archivebox playwright
|
||||
$STD /opt/archivebox/venv/bin/playwright install-deps chromium
|
||||
|
||||
Reference in New Issue
Block a user