.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
LAMETRIC_ACCOUNT_EMAIL
LaMetric account. Use either direct values or commands.
LAMETRIC_ACCOUNT_PASSWORD
secret
LAMETRIC_ACCOUNT_API_KEY
secret
LAMETRIC_ACCOUNT_EMAIL_CMD
LAMETRIC_ACCOUNT_PASSWORD_CMD
secret
LAMETRIC_ACCOUNT_API_KEY_CMD
secret
LAMETRIC_IFACE
Wi-Fi interface on this computer.
LAMETRIC_SETUP_AP
Temporary setup AP broadcast by the clock, for example LM1234.
LAMETRIC_WIFI_SSID
Target Wi-Fi to provision onto the clock.
LAMETRIC_WIFI_PASSWORD
secret
LAMETRIC_WIFI_PASSWORD_CMD
secret
LAMETRIC_RESTORE_WIFI_CONNECTION
Optional NetworkManager connection to restore on this computer after setup.
LAMETRIC_DEVICE_SERIAL
Optional selectors for scripts/device-info.sh.
LAMETRIC_DEVICE_NAME
LAMETRIC_DEVICE_IP
LAMETRIC_DEVICE_API_KEY
secret
LAMETRIC_DEVICE_API_KEY_CMD
secret
brew install flyctl && fly launch --from https://github.com/angristan/lametric-time
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/angristan/lametric-time
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/angristan/lametric-time