Update homepage-install.sh

This commit is contained in:
tteckster 2022-09-11 02:17:44 -04:00 committed by GitHub
parent 80d2305a0f
commit b803b562ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ apt-get install -y git &>/dev/null
msg_ok "Installed Dependencies"
msg_info "Setting up Node.js Repository"
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - &>/dev/null
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &>/dev/null
msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
@ -84,9 +84,9 @@ msg_ok "Installed Node.js"
msg_info "Installing Homepage"
git clone https://github.com/benphelps/homepage.git /opt/homepage &>/dev/null
cd /opt/homepage
mkdir -p config
npm install &>/dev/null
npm run build &>/dev/null
mkdir -p config
msg_ok "Installed Homepage"
msg_info "Creating Service"