Package Details: teslamate 1.32.0-1

Git Clone URL: https://aur.archlinux.org/teslamate.git (read-only, click to copy)
Package Base: teslamate
Description: A self-hosted data logger for your Tesla
Upstream URL: https://github.com/teslamate-org/teslamate
Licenses: MIT
Submitter: bwrsandman
Maintainer: buzo (VVL)
Last Packager: VVL
Votes: 3
Popularity: 0.003900
First Submitted: 2021-09-30 21:43 (UTC)
Last Updated: 2024-11-25 08:48 (UTC)

Latest Comments

micwoj92 commented on 2024-08-20 20:53 (UTC)

Wouldn't it work if you did something like HEX_HOME=${srcdir}/.hex MIX_HOME=${srcdir}/.mix MIX_ENV=prod mix do phx.digest, release --overwrite --path=${srcdir}/usr/share/webapps/${pkgname} or whatever other path and then move the files in package()?
Obviously I haven't tried it, but it might be simplest solution.
I see that in first incarnation this PKGBUILD used this mix do command both in build and in package.

VVL commented on 2024-08-20 20:30 (UTC)

Hello! mix do phx.digest requires $pkgdir folder, which in turn appears at the stage of package().

micwoj92 commented on 2024-08-15 23:41 (UTC)

Hello, could you move the compile/mix step to build() instead of package()? I think it would make more sense. Thanks

VVL commented on 2024-01-27 17:58 (UTC)

I fixed all needed (as I think). Please check you email, I send you proposed config.

VVL commented on 2024-01-27 15:54 (UTC)

  1. maybe change a lot of environments from .service to one EnvironmentFile? For example: EnvironmentFile=/etc/teslamate.conf

VVL commented on 2024-01-27 15:51 (UTC)

  1. maybe move teslamate from /opt to /usr/share/webapps, like in other packages?
  2. in /var/lib/grafana/conf/provisioning/dashboards/teslamate.yml 3 providers, this is wrong and grafana logs have a lot of warnings. Needed only one provider: name: 'teslamate'

bendavis78 commented on 2024-01-22 22:57 (UTC)

What is the recommended way to set the ENCRYPTION_KEY variable w/o setting it system-wide?