.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
INSIGHTS_BASE_URL
Insights API (use demo base URL)
INSIGHTS_REGION
INSIGHTS_SERVICE_NAME
INSIGHTS_ACCESS_KEY_ID
secret
INSIGHTS_SECRET_ACCESS_KEY
secret
INSIGHTS_X_API_KEY
secret
Optional: if your Insights plan uses an x-api-key header
FIREWORKS_API_KEY
secret
LLM for energy audit – use one of: Fireworks AI (recommended): https://fireworks.ai – get API key from dashboard
OPENAI_API_KEY
secret
Optional: Fireworks model (default: llama-v3p1-8b-instruct) FIREWORKS_MODEL=accounts/fireworks/models/llama-v3p1-8b-instruct OpenAI…
brew install flyctl && fly launch --from https://github.com/kunal-kushwaha/energy-sync
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/kunal-kushwaha/energy-sync
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/kunal-kushwaha/energy-sync