Update homarr-install.sh

test
This commit is contained in:
tteckster 2023-11-11 13:13:45 -05:00 committed by GitHub
parent 50165e4d38
commit ef222e11d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,18 +28,16 @@ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dea
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" >/etc/apt/sources.list.d/nodesource.list
msg_ok "Set up Node.js Repository" msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js" msg_info "Installing Node.js/Yarn"
$STD apt-get update $STD apt-get update
$STD apt-get install -y nodejs $STD apt-get install -y nodejs
$STD npm install next npm install -g npm@latest
$STD npm instal react
$STD npm instal react-dom
msg_ok "Installed Node.js"
msg_info "Installing Yarn"
$STD npm install -g yarn $STD npm install -g yarn
$STD yarn global add prisma $STD yarn global add prisma
msg_ok "Installed Yarn" npm install next
$STD npm instal react
$STD npm instal react-dom
msg_ok "Installed Node.js/Yarn"
msg_info "Installing Homarr (Patience)" msg_info "Installing Homarr (Patience)"
git clone -q https://github.com/ajnart/homarr.git /opt/homarr git clone -q https://github.com/ajnart/homarr.git /opt/homarr