mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-30 22:19:41 +00:00
teslamate: build from the elixir directory since 4.3.0
This commit is contained in:
+2
-2
@@ -49,14 +49,14 @@ function update_script() {
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "teslamate" "teslamate-org/teslamate" "tarball"
|
||||
|
||||
msg_info "Building TeslaMate (Patience)"
|
||||
cd /opt/teslamate
|
||||
cd /opt/teslamate/elixir
|
||||
export MIX_ENV=prod
|
||||
$STD mix local.hex --force
|
||||
$STD mix local.rebar --force
|
||||
$STD mix deps.get --only prod
|
||||
$STD npm install --prefix ./assets
|
||||
$STD npm run deploy --prefix ./assets
|
||||
$STD mix do phx.digest, release --overwrite
|
||||
$STD mix do phx.digest, release --overwrite --path /opt/teslamate/_build/prod/rel/teslamate
|
||||
msg_ok "Built TeslaMate"
|
||||
|
||||
msg_info "Starting Service"
|
||||
|
||||
@@ -49,14 +49,14 @@ msg_ok "Installed Grafana"
|
||||
fetch_and_deploy_gh_release "teslamate" "teslamate-org/teslamate" "tarball"
|
||||
|
||||
msg_info "Building TeslaMate (Patience)"
|
||||
cd /opt/teslamate
|
||||
cd /opt/teslamate/elixir
|
||||
export MIX_ENV=prod
|
||||
$STD mix local.hex --force
|
||||
$STD mix local.rebar --force
|
||||
$STD mix deps.get --only prod
|
||||
$STD npm install --prefix ./assets
|
||||
$STD npm run deploy --prefix ./assets
|
||||
$STD mix do phx.digest, release --overwrite
|
||||
$STD mix do phx.digest, release --overwrite --path /opt/teslamate/_build/prod/rel/teslamate
|
||||
msg_ok "Built TeslaMate"
|
||||
|
||||
msg_info "Configuring TeslaMate"
|
||||
|
||||
Reference in New Issue
Block a user