Update homarr-install.sh

This commit is contained in:
tteckster 2023-11-11 13:03:35 -05:00 committed by GitHub
parent 5998a3c542
commit 50165e4d38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ msg_ok "Installed Yarn"
msg_info "Installing Homarr (Patience)"
git clone -q https://github.com/ajnart/homarr.git /opt/homarr
cd /opt/homarr
$STD yarn install
$STD yarn build
cp -p /opt/homarr/.env.example /opt/homarr/.env
sed -i 's/NEXTAUTH_SECRET="[^"]*"/NEXTAUTH_SECRET="'"$(openssl rand -base64 32)"'"/' /opt/homarr/.env
$STD yarn install
$STD yarn build
$STD yarn db:migrate
msg_ok "Installed Homarr"