Compare commits

...

1 Commits

Author SHA1 Message Date
MickLesk
357d902116 teslamate: build from the elixir directory since 4.3.0 2026-09-30 19:23:00 +02:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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"

View File

@@ -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"