Temporary git clone of Hoarder for testing

This commit is contained in:
vhsdream 2025-03-06 17:57:44 -05:00
parent 4bdf8f0f12
commit d7f05515bd
2 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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"