mirror of https://github.com/tteck/Proxmox.git
Update homepage-install.sh
This commit is contained in:
parent
b803b562ca
commit
1515ce2ab7
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue