diff --git a/setup/homepage-install.sh b/setup/homepage-install.sh index 9ec584b8..661898df 100644 --- a/setup/homepage-install.sh +++ b/setup/homepage-install.sh @@ -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"