-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.env
More file actions
23 lines (16 loc) · 1.03 KB
/
Copy pathexample.env
File metadata and controls
23 lines (16 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Environment Variables Example
# Copy this file to .env and fill in the actual values
# Notion Database ID: Get from your Notion database URL (the long string in the URL)
NOTION_DATABASE_ID=YOUR_NOTION_DATABASE_ID
# Notion API Key: Generate from Notion integrations (https://www.notion.so/my-integrations)
NOTION_API_KEY=YOUR_NOTION_API_KEY
# Admin JWT Secret: Generate a random secret string for JWT signing (use openssl rand -hex 32 or similar)
ADMIN_JWT_SECRET=YOUR_ADMIN_JWT_SECRET
# GitHub Token: Create a personal access token from GitHub (https://github.com/settings/tokens)
GITHUB_TOKEN=YOUR_GITHUB_TOKEN
# Admin Password: Hash of your admin password (use bcrypt hashing, e.g., via online tools or Node.js)
ADMIN_PASSWORD=YOUR_ADMIN_PASSWORD_HASH
# Public Upload Token: Generate a random token for public uploads (use openssl rand -hex 16 or similar)
PUBLIC_UPLOAD_TOKEN=YOUR_PUBLIC_UPLOAD_TOKEN
# Captcha Secret Key: Generate a secret key for captcha verification (use openssl rand -hex 32 or similar)
CAPTCHA_SECRET=YOUR_CAPTCHA_SECRET_KEY