Merge branch 'main' of https://github.com/community-scripts/ProxmoxVED
This commit is contained in:
commit
ef2ca9842c
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
|
source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func)
|
||||||
# Copyright (c) 2021-2025 community-scripts ORG
|
# Copyright (c) 2021-2025 community-scripts ORG
|
||||||
# Author: CrazyWolf13
|
# Author: CrazyWolf13
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
||||||
|
@ -14,26 +14,23 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Setup Python3"
|
|
||||||
$STD apt-get install -y \
|
|
||||||
python3 \
|
|
||||||
python3-pip
|
|
||||||
rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
|
||||||
msg_ok "Setup Python3"
|
|
||||||
|
|
||||||
msg_info "Setup NodeJS"
|
msg_info "Setup NodeJS"
|
||||||
export NODE_MODULE="npm@latest"
|
NODE_VERSION="22"
|
||||||
|
NODE_MODULE="npm@latest,yarn@latest"
|
||||||
install_node_and_modules
|
install_node_and_modules
|
||||||
msg_ok "Setup NodeJS"
|
msg_ok "Setup NodeJS"
|
||||||
|
|
||||||
# Setup App
|
msg_info "Setup Python"
|
||||||
|
setup_uv
|
||||||
|
msg_ok "Setup Python"
|
||||||
|
|
||||||
msg_info "Setup ${APPLICATION}"
|
msg_info "Setup ${APPLICATION}"
|
||||||
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
fetch_and_deploy_gh_release "CrazyWolf13/streamlink-webui"
|
||||||
cd /opt/"${APPLICATION}"/backend/src
|
$STD uv venv /opt/**/backend/src/.venv
|
||||||
|
source /opt/**/.venv/bin/activate
|
||||||
|
$STD uv sync --all-extras
|
||||||
$STD pip install -r requirements.txt
|
$STD pip install -r requirements.txt
|
||||||
cd ../../frontend/src
|
cd ../../frontend/src
|
||||||
$STD npm install
|
|
||||||
$STD npm install -g yarn
|
|
||||||
$STD yarn build
|
$STD yarn build
|
||||||
msg_ok "Setup ${APPLICATION}"
|
msg_ok "Setup ${APPLICATION}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user