-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.env.example
More file actions
40 lines (36 loc) · 1.56 KB
/
.env.example
File metadata and controls
40 lines (36 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# GitHub Configuration for Contact Form
# Copy this file to .env.local and fill in your values
# GitHub Personal Access Token
# Create one at: https://github.com/settings/tokens
# Required permissions: repo (full control of private repositories)
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# GitHub Repository
# Format: owner/repo-name
# Example: your-username/lead-capture-system
GITHUB_REPO=omega-suite-finance/lead-capture-system
# Language Configuration (Optional)
# Default language for the contact form
# Options: 'it' (Italian) or 'en' (English)
# If not set, the form will auto-detect the user's browser language
# NEXT_PUBLIC_DEFAULT_LOCALE=it
# NEXT_PUBLIC_DEFAULT_LOCALE=en
# Setup Instructions:
# 1. Create a GitHub Personal Access Token:
# - Go to https://github.com/settings/tokens
# - Click "Generate new token" (classic)
# - Give it a descriptive name (e.g., "Landing Page Contact Form")
# - Select scope: "repo" (Full control of private repositories)
# - Click "Generate token"
# - Copy the token (you won't be able to see it again!)
#
# 2. Copy this file:
# cp .env.example .env.local
#
# 3. Edit .env.local and replace the values:
# - GITHUB_TOKEN: paste your token from step 1
# - GITHUB_REPO: set to your repository (format: owner/repo-name)
# - NEXT_PUBLIC_DEFAULT_LOCALE: (optional) set to 'it' or 'en' to force a specific language
#
# 4. GitHub will automatically send email notifications when new contacts are received
# Make sure your GitHub notification settings are configured:
# https://github.com/settings/notifications