Update homepage-v5-install.sh

fix install
This commit is contained in:
tteckster 2023-01-23 16:51:29 -05:00 committed by GitHub
parent f99e8e198b
commit d4af8afb3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -93,13 +93,14 @@ msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js" msg_info "Installing Node.js"
$STD apt-get install -y nodejs $STD apt-get install -y nodejs
$STD npm install -g pnpm $STD npm install -g npm@9.3.1
msg_ok "Installed Node.js" msg_ok "Installed Node.js"
msg_info "Installing Homepage" msg_info "Installing Homepage"
$STD git clone https://github.com/benphelps/homepage.git /opt/homepage $STD git clone https://github.com/benphelps/homepage.git /opt/homepage
cd /opt/homepage cd /opt/homepage
mkdir -p config mkdir -p config
cp /opt/homepage/src/skeleton/* /opt/homepage/config
$STD pnpm install $STD pnpm install
$STD pnpm build $STD pnpm build
msg_ok "Installed Homepage" msg_ok "Installed Homepage"