chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
39
.env.example
39
.env.example
@@ -1,31 +1,33 @@
|
||||
# Plantilla de variables para `docker compose`.
|
||||
# Variable template for `docker compose`.
|
||||
#
|
||||
# Local: copiá este archivo a `.env` en la raíz y completá los valores.
|
||||
# Dokploy: no hace falta el archivo; definí las mismas variables en la pestaña
|
||||
# Environment del servicio Compose (Dokploy las escribe en un `.env` al lado del
|
||||
# compose, que es de donde salen los `${...}`).
|
||||
# Local: copy this file to `.env` at the root and fill in the values.
|
||||
# Dokploy: no file needed; define the same variables in the Environment tab of
|
||||
# the Compose service (Dokploy writes them to a `.env` next to the compose
|
||||
# file, which is where the `${...}` come from).
|
||||
|
||||
# Origen público de la app, sin barra final. El mismo valor alimenta WEB_URL y
|
||||
# BETTER_AUTH_URL porque nginx hace de proxy de /api: la web y la API comparten
|
||||
# dominio y por lo tanto la cookie de sesión es first-party.
|
||||
# Public origin of the app, no trailing slash. The same value feeds WEB_URL and
|
||||
# BETTER_AUTH_URL because nginx proxies /api: the web and the API share a
|
||||
# domain, so the session cookie is first-party.
|
||||
WEB_URL="http://localhost:8080"
|
||||
|
||||
# PostgreSQL de producción.
|
||||
# La password va percent-encoded: si tiene #, @, :, /, ?, % o espacio, escapala
|
||||
# (%23, %40, %3A, %2F, %3F, %25, %20). Sin eso Prisma corta la URL donde empieza
|
||||
# el fragmento y falla con P1013 "invalid port number in database URL".
|
||||
# Production PostgreSQL.
|
||||
# The password must be percent-encoded: if it has #, @, :, /, ?, % or a space,
|
||||
# escape it (%23, %40, %3A, %2F, %3F, %25, %20). Otherwise Prisma truncates the
|
||||
# URL where the fragment starts and fails with P1013 "invalid port number in
|
||||
# database URL".
|
||||
DATABASE_URL="postgresql://user:password@localhost:5432/gruperly?schema=public"
|
||||
|
||||
# Generalo con: openssl rand -base64 32
|
||||
# Generate it with: openssl rand -base64 32
|
||||
BETTER_AUTH_SECRET=""
|
||||
|
||||
# ── Opcionales ───────────────────────────────────────────────────────────────
|
||||
# ── Optional ─────────────────────────────────────────────────────────────────
|
||||
|
||||
# Login social con Google. Sin client id/secret no se registra el provider.
|
||||
# Social login with Google. Without a client id/secret the provider is not
|
||||
# registered.
|
||||
# GOOGLE_CLIENT_ID=""
|
||||
# GOOGLE_CLIENT_SECRET=""
|
||||
|
||||
# Envío de emails (mismas variables que apps/backend/.env.example).
|
||||
# Email sending (same variables as apps/backend/.env.example).
|
||||
# EMAIL_PROVIDER="smtp"
|
||||
# EMAIL_SERVER_HOST=""
|
||||
# EMAIL_SERVER_PORT="587"
|
||||
@@ -33,6 +35,7 @@ BETTER_AUTH_SECRET=""
|
||||
# EMAIL_SERVER_PASSWORD=""
|
||||
# EMAIL_FROM="Gruperly <no-reply@gruperly.com>"
|
||||
|
||||
# Solo si querés la API en otro dominio: se hornea en el bundle de Vite y obliga
|
||||
# a sacar el proxy /api de apps/web/nginx.conf. Vacío = mismo origen (recomendado).
|
||||
# Only if you want the API on another domain: it is baked into the Vite bundle
|
||||
# and forces you to drop the /api proxy from apps/web/nginx.conf. Empty = same
|
||||
# origin (recommended).
|
||||
# VITE_API_URL=""
|
||||
|
||||
Reference in New Issue
Block a user