mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-22 16:44:44 +00:00
SoulSync: setup Node v22 and build WebUI (#14639)
This commit is contained in:
committed by
GitHub
parent
8aca89b8dc
commit
82abeac9fb
@@ -23,6 +23,7 @@ $STD apt install -y \
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
UV_PYTHON="3.11" setup_uv
|
||||
NODE_VERSION="22" setup_nodejs
|
||||
|
||||
fetch_and_deploy_gh_release "soulsync" "Nezreka/SoulSync" "tarball"
|
||||
|
||||
@@ -33,6 +34,12 @@ $STD uv pip install -r requirements.txt --python /opt/soulsync/.venv/bin/python
|
||||
mkdir -p /opt/soulsync/{config,data,logs}
|
||||
msg_ok "Set up Application"
|
||||
|
||||
msg_info "Building WebUI"
|
||||
cd /opt/soulsync/webui
|
||||
$STD npm ci
|
||||
$STD npm run build
|
||||
msg_ok "Built WebUI"
|
||||
|
||||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/soulsync.service
|
||||
[Unit]
|
||||
|
||||
Reference in New Issue
Block a user