mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-23 17:04:58 +02:00
Compare commits
1 Commits
fix/the-lo
...
soulsync_w
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
089555dd9e |
@@ -29,6 +29,8 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
NODE_VERSION="22" setup_nodejs
|
||||||
|
|
||||||
if check_for_gh_release "soulsync" "Nezreka/SoulSync"; then
|
if check_for_gh_release "soulsync" "Nezreka/SoulSync"; then
|
||||||
msg_info "Stopping Service"
|
msg_info "Stopping Service"
|
||||||
systemctl stop soulsync
|
systemctl stop soulsync
|
||||||
@@ -47,6 +49,12 @@ function update_script() {
|
|||||||
$STD uv pip install -r requirements.txt
|
$STD uv pip install -r requirements.txt
|
||||||
msg_ok "Updated Python Dependencies"
|
msg_ok "Updated Python Dependencies"
|
||||||
|
|
||||||
|
msg_info "Building WebUI"
|
||||||
|
cd /opt/soulsync/webui
|
||||||
|
$STD npm ci
|
||||||
|
$STD npm run build
|
||||||
|
msg_ok "Built WebUI"
|
||||||
|
|
||||||
mv /opt/soulsync-config.bak /opt/soulsync/config
|
mv /opt/soulsync-config.bak /opt/soulsync/config
|
||||||
mv /opt/soulsync-data.bak /opt/soulsync/data
|
mv /opt/soulsync-data.bak /opt/soulsync/data
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ $STD apt install -y \
|
|||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
UV_PYTHON="3.11" setup_uv
|
UV_PYTHON="3.11" setup_uv
|
||||||
|
NODE_VERSION="22" setup_nodejs
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "soulsync" "Nezreka/SoulSync" "tarball"
|
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}
|
mkdir -p /opt/soulsync/{config,data,logs}
|
||||||
msg_ok "Set up Application"
|
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"
|
msg_info "Creating Service"
|
||||||
cat <<EOF >/etc/systemd/system/soulsync.service
|
cat <<EOF >/etc/systemd/system/soulsync.service
|
||||||
[Unit]
|
[Unit]
|
||||||
|
|||||||
Reference in New Issue
Block a user