Update homepage-install.sh

This commit is contained in:
tteckster 2022-09-11 04:12:24 -04:00 committed by GitHub
parent b803b562ca
commit 1515ce2ab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -79,14 +79,15 @@ msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js" msg_info "Installing Node.js"
apt-get install -y nodejs &>/dev/null apt-get install -y nodejs &>/dev/null
npm install -g pnpm &>/dev/null
msg_ok "Installed Node.js" msg_ok "Installed Node.js"
msg_info "Installing Homepage" msg_info "Installing Homepage"
git clone https://github.com/benphelps/homepage.git /opt/homepage &>/dev/null git clone https://github.com/benphelps/homepage.git /opt/homepage &>/dev/null
cd /opt/homepage cd /opt/homepage
mkdir -p config mkdir -p config
npm install &>/dev/null pnpm install &>/dev/null
npm run build &>/dev/null pnpm build &>/dev/null
msg_ok "Installed Homepage" msg_ok "Installed Homepage"
msg_info "Creating Service" msg_info "Creating Service"