dashy: add prebuild
This commit is contained in:
@@ -13,13 +13,12 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
NODE_VERSION="24" setup_nodejs
|
NODE_VERSION="18" NODE_MODULE="yarn" setup_nodejs
|
||||||
fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "tarball"
|
fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "prebuild" "latest" "/opt/dashy" "dashy-*.tar.gz"
|
||||||
|
|
||||||
msg_info "Installing Dashy"
|
msg_info "Installing Dashy"
|
||||||
cd /opt/dashy
|
cd /opt/dashy
|
||||||
$STD npm install
|
$STD yarn install --production --ignore-engines --network-timeout 300000
|
||||||
$STD npm run build
|
|
||||||
msg_ok "Installed Dashy"
|
msg_ok "Installed Dashy"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
@@ -30,7 +29,7 @@ Description=dashy
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/opt/dashy
|
WorkingDirectory=/opt/dashy
|
||||||
ExecStart=/usr/bin/npm start
|
ExecStart=/usr/bin/node server.js
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user