use new funcs
This commit is contained in:
parent
4b6a2f9a5d
commit
f9ada1d924
@ -38,12 +38,16 @@ function update_script() {
|
|||||||
|
|
||||||
msg_info "Updating $APP to v${RELEASE}"
|
msg_info "Updating $APP to v${RELEASE}"
|
||||||
rm -rf /opt/${APP}
|
rm -rf /opt/${APP}
|
||||||
|
NODE_VERSION="22"
|
||||||
|
NODE_MODULE="npm@latest,yarn@latest"
|
||||||
|
install_node_and_modules
|
||||||
|
setup_uv
|
||||||
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/**//backend/src/.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 "Updated $APP to v${RELEASE}"
|
msg_ok "Updated $APP to v${RELEASE}"
|
||||||
|
|
||||||
|
@ -14,20 +14,15 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Setup NodeJS"
|
|
||||||
NODE_VERSION="22"
|
NODE_VERSION="22"
|
||||||
NODE_MODULE="npm@latest,yarn@latest"
|
NODE_MODULE="npm@latest,yarn@latest"
|
||||||
install_node_and_modules
|
install_node_and_modules
|
||||||
msg_ok "Setup NodeJS"
|
|
||||||
|
|
||||||
msg_info "Setup Python"
|
|
||||||
setup_uv
|
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"
|
||||||
$STD uv venv /opt/**/backend/src/.venv
|
$STD uv venv /opt/**/backend/src/.venv
|
||||||
source /opt/**/.venv/bin/activate
|
source /opt/**//backend/src/.venv/bin/activate
|
||||||
$STD uv sync --all-extras
|
$STD uv sync --all-extras
|
||||||
$STD pip install -r requirements.txt
|
$STD pip install -r requirements.txt
|
||||||
cd ../../frontend/src
|
cd ../../frontend/src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user