Skip to content

Commit c0b647d

Browse files
committed
doc: update read me
1 parent ee37fe4 commit c0b647d

5 files changed

Lines changed: 29 additions & 29 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Senzen
22

33

4-
**Your intelligent companion for effortless money management.**
4+
**Your SenZen intelligent companion for effortless money management.**
5+
56

67
---
78

infra/terraform/cloudflare.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ resource "cloudflare_record" "senzen_frontend" {
1515
zone_id = var.cloudflare_zone_id
1616
name = split(".", var.frontend_domain)[0] # "senzen"
1717
type = "CNAME"
18-
value = var.vercel_cname_target
18+
content = var.vercel_cname_target
1919
proxied = false
2020
comment = "Senzen frontend → Vercel (DNS-only, Vercel issues its own cert)"
2121
}

infra/terraform/terraform.tfvars.example

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
# cp terraform.tfvars.example terraform.tfvars
55
# ============================================================
66
# terraform.tfvars is .gitignore'd — keep secrets out of git.
7+
#
8+
# If you are using Terraform Cloud, set the variables in the
9+
# workspace Variables tab instead — Terraform Cloud will pass
10+
# them in, and terraform.tfvars is ignored. The two are NOT
11+
# loaded together.
712
# ============================================================
813

914
# Terraform Cloud
@@ -12,6 +17,8 @@ tfc_workspace = "senzen-production"
1217

1318
# ─────────────────────────────────────────────────────────────
1419
# Vercel (frontend)
20+
# Get token from: https://vercel.com/account/tokens
21+
# Scope: Full Account (or limited to the senzen project)
1522
# ─────────────────────────────────────────────────────────────
1623
vercel_api_token = "vercel-api-token-here"
1724

@@ -35,8 +42,6 @@ github_repo = "Long104/Senzen"
3542
# Public domains — defaults shown, override only if different
3643
# ─────────────────────────────────────────────────────────────
3744
# frontend_domain = "senzen.pantorn.site"
38-
# backend_subdomain = "api"
39-
# render_service_name = "senzen-api"
4045
# vercel_cname_target = "cname.vercel-dns.com"
4146

4247
# ─────────────────────────────────────────────────────────────
@@ -46,16 +51,21 @@ github_repo = "Long104/Senzen"
4651
# (or in render.yaml with sync: false).
4752
#
4853
# Render dashboard → senzen-api → Environment:
49-
# DB_HOST = abcdefgh.supabase.co
50-
# DB_PORT = 5432
51-
# DB_USER = postgres
52-
# DB_NAME = postgres
53-
# DB_PASSWORD = <from supabase dashboard>
54-
# jwtSecretKey = <openssl rand -base64 32>
55-
# GOOGLE_CLIENT_ID = <from Google Cloud Console>
56-
# GOOGLE_CLIENT_SECRET = <from Google Cloud Console>
57-
# GITHUB_CLIENT_ID = <from GitHub OAuth app>
58-
# GITHUB_CLIENT_SECRET = <from GitHub OAuth app>
59-
# FRONTEND_URL = https://senzen.pantorn.site
60-
# BACKEND_URL = https://api.senzen.pantorn.site
54+
# DB_HOST = aws-0-ap-southeast-1.pooler.supabase.com
55+
# DB_PORT = 5432
56+
# DB_USER = postgres.bqkveselhvqmknnvwgfx
57+
# DB_NAME = postgres
58+
# DB_PASSWORD = <from supabase dashboard>
59+
# jwtSecretKey = <openssl rand -base64 32>
60+
# GOOGLE_CLIENT_ID = <from Google Cloud Console>
61+
# GOOGLE_CLIENT_SECRET = <from Google Cloud Console>
62+
# GITHUB_CLIENT_ID = <from GitHub OAuth app>
63+
# GITHUB_CLIENT_SECRET = <from GitHub OAuth app>
64+
# FRONTEND_URL = https://senzen.pantorn.site
65+
# BACKEND_URL = https://senzen.pantorn.site (path-based — no /api)
66+
# GO_ENV = production
67+
#
68+
# OAuth provider dashboards (callback URLs):
69+
# Google: https://senzen.pantorn.site/google_callback
70+
# GitHub: https://senzen.pantorn.site/github_callback
6171
# ─────────────────────────────────────────────────────────────

infra/terraform/variables.tf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
variable "tfc_organization" {
2-
description = "Terraform Cloud organization name"
3-
type = string
4-
}
5-
6-
variable "tfc_workspace" {
7-
description = "Terraform Cloud workspace name"
8-
type = string
9-
default = "senzen-production"
10-
}
11-
121
# ─────────────────────────────────────────────────────────────
132
# Vercel (frontend)
143
# ─────────────────────────────────────────────────────────────

infra/terraform/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
terraform {
22
cloud {
3-
organization = var.tfc_organization
3+
organization = "openzen"
44

55
workspaces {
6-
name = var.tfc_workspace
6+
name = "senzen-production"
77
}
88
}
99

0 commit comments

Comments
 (0)