mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-05 08:25:59 +00:00
SparkyFitness: install pnpm dependencies from workspace root (#12792)
This commit is contained in:
committed by
GitHub
parent
4103efd10b
commit
667efeab5e
+2
-1
@@ -55,8 +55,9 @@ function update_script() {
|
|||||||
msg_ok "Updated Sparky Fitness Backend"
|
msg_ok "Updated Sparky Fitness Backend"
|
||||||
|
|
||||||
msg_info "Updating Sparky Fitness Frontend (Patience)"
|
msg_info "Updating Sparky Fitness Frontend (Patience)"
|
||||||
cd /opt/sparkyfitness/SparkyFitnessFrontend
|
cd /opt/sparkyfitness
|
||||||
$STD pnpm install
|
$STD pnpm install
|
||||||
|
cd /opt/sparkyfitness/SparkyFitnessFrontend
|
||||||
$STD pnpm run build
|
$STD pnpm run build
|
||||||
cp -a /opt/sparkyfitness/SparkyFitnessFrontend/dist/. /var/www/sparkyfitness/
|
cp -a /opt/sparkyfitness/SparkyFitnessFrontend/dist/. /var/www/sparkyfitness/
|
||||||
msg_ok "Updated Sparky Fitness Frontend"
|
msg_ok "Updated Sparky Fitness Frontend"
|
||||||
|
|||||||
@@ -51,8 +51,9 @@ $STD npm install
|
|||||||
msg_ok "Built Backend"
|
msg_ok "Built Backend"
|
||||||
|
|
||||||
msg_info "Building Frontend (Patience)"
|
msg_info "Building Frontend (Patience)"
|
||||||
cd /opt/sparkyfitness/SparkyFitnessFrontend
|
cd /opt/sparkyfitness
|
||||||
$STD pnpm install
|
$STD pnpm install
|
||||||
|
cd /opt/sparkyfitness/SparkyFitnessFrontend
|
||||||
$STD pnpm run build
|
$STD pnpm run build
|
||||||
cp -a /opt/sparkyfitness/SparkyFitnessFrontend/dist/. /var/www/sparkyfitness/
|
cp -a /opt/sparkyfitness/SparkyFitnessFrontend/dist/. /var/www/sparkyfitness/
|
||||||
msg_ok "Built Frontend"
|
msg_ok "Built Frontend"
|
||||||
|
|||||||
Reference in New Issue
Block a user