-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
60 lines (48 loc) · 1.77 KB
/
.env.example
File metadata and controls
60 lines (48 loc) · 1.77 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copy this file to .env and fill in the values for local development.
# cp .env.example .env
#
# .env is git-ignored; never commit real credentials.
#
# Usage – run a script locally with its environment loaded automatically:
# npm run start:progress – full run (SVGs + GitHub issue update)
# npm run start:en-us – sync en-US translations
# npm run start:issues – sync Crowdin issues → GitHub Issues
# npm run start:distribution – sync distribution CDN files
#
# Requires Node.js 20.6+ (uses the built-in --env-file flag).
#
# Crowdin
#
# Personal access token from https://crowdin.com/settings#api-key
# Required by: crowdin-progress, sync-crowdin-en-us, sync-crowdin-issues
CROWDIN_TOKEN=
# Comma-separated list of Crowdin project IDs
# Required by: crowdin-progress, sync-crowdin-en-us, sync-crowdin-issues
CROWDIN_PROJECT_IDS=
# Comma-separated Crowdin distribution hashes (from the Distributions page)
# Required by: sync-crowdin-distribution
CROWDIN_DISTRIBUTION_IDS=
#
# GitHub
#
# GitHub personal access token with 'repo' scope (issues read/write)
# Required by: crowdin-progress (unless SVG_ONLY=true), sync-crowdin-issues
GH_BOT_TOKEN=
# Repository in "owner/repo" format
# Required by: crowdin-progress (unless SVG_ONLY=true), sync-crowdin-issues
GITHUB_REPOSITORY=LizardByte/i18n
#
# crowdin-progress options
#
# Directory where SVG progress graphs are written.
# Default: /tmp/crowdin-progress
# SVG_OUTPUT_DIR=./dist-pages/progress
# Set to true to generate SVG graphs only and skip all GitHub API calls.
# When true, GH_BOT_TOKEN and GITHUB_REPOSITORY are not required.
SVG_ONLY=false
#
# sync-crowdin-distribution options
#
# Directory where distribution files are written.
# Default: dist-pages/dist
# OUTPUT_DIR=./dist-pages/dist