mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-03-13 00:50:01 +00:00
Temporary git clone of Hoarder for testing
This commit is contained in:
parent
4bdf8f0f12
commit
d7f05515bd
@ -44,9 +44,10 @@ function update_script() {
|
||||
mv /opt/hoarder/.env /etc/hoarder/hoarder.env
|
||||
fi
|
||||
rm -rf /opt/hoarder
|
||||
wget -q "https://github.com/hoarder-app/hoarder/archive/refs/tags/v${RELEASE}.zip"
|
||||
unzip -q v${RELEASE}.zip
|
||||
mv hoarder-${RELEASE} /opt/hoarder
|
||||
# wget -q "https://github.com/hoarder-app/hoarder/archive/refs/tags/v${RELEASE}.zip"
|
||||
# unzip -q v${RELEASE}.zip
|
||||
# mv hoarder-${RELEASE} /opt/hoarder
|
||||
$STD git clone https://github.com/hoarder-app/hoarder.git
|
||||
cd /opt/hoarder/apps/web
|
||||
$STD pnpm install --frozen-lockfile
|
||||
$STD pnpm exec next build --experimental-build-mode compile
|
||||
|
@ -64,9 +64,10 @@ msg_ok "Installed Node.js"
|
||||
msg_info "Installing Hoarder"
|
||||
cd /opt
|
||||
RELEASE=$(curl -s https://api.github.com/repos/hoarder-app/hoarder/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
wget -q "https://github.com/hoarder-app/hoarder/archive/refs/tags/v${RELEASE}.zip"
|
||||
unzip -q v${RELEASE}.zip
|
||||
mv hoarder-${RELEASE} /opt/hoarder
|
||||
# wget -q "https://github.com/hoarder-app/hoarder/archive/refs/tags/v${RELEASE}.zip"
|
||||
# unzip -q v${RELEASE}.zip
|
||||
# mv hoarder-${RELEASE} /opt/hoarder
|
||||
$STD git clone https://github.com/hoarder-app/hoarder.git
|
||||
cd /opt/hoarder
|
||||
corepack enable
|
||||
export PUPPETEER_SKIP_DOWNLOAD="true"
|
||||
|
Loading…
Reference in New Issue
Block a user