-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (50 loc) · 1.63 KB
/
Copy path.env.example
File metadata and controls
65 lines (50 loc) · 1.63 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
61
62
63
64
65
# Inscript Environment Template
# NOTE: All the directory paths are relative to inscript/ directory or absolute paths.
# --- General ---
# Title shown in the browser tab and sidebar
# Default: My Inscript Blog
TITLE=My Inscript Blog
# Used in sitemap and robots.txt
# Default: https://example.com
SITE_URL=https://example.com
# --- MUST BE SET ---
# Content directory - where markdown files are stored.
# Default: ../content
CONTENT_DIR=../content
# Static directory - where static files like the images used in the posts are stored.
# Default: ../static
STATIC_DIR=../static
# --- OPTIONAL ---
# Favicon path - the icon shown in the browser tab and sidebar.
# Default: assets/favicon_default.png
FAVICON=assets/favicon_default.png
# Drafts directory - where drafts which are autosaved or unpublished are stored.
# Default: ../drafts
DRAFTS_DIR=../drafts
# Output directory - where the generated files are stored.
# Default: ../dist
DIST_DIR=../dist
# Port for the Inscript Server
# Default: 3001
SERVER_PORT=3001
# Port for the Inscript Client (Dev mode)
# Default: 5173
CLIENT_PORT=5173
# Hostnames allowed to access the Inscript client (comma-separated or 'true' to allow all).
# Default: true
ALLOWED_HOSTS=true
# --- Authentication & Security ---
# Enable local password authentication
# Default: true
AUTH_ENABLED=true
# Admin username for login
# Default: admin
AUTH_USERNAME=admin
# BCrypt hash of your password (Generated on first run)
AUTH_PASSWORD_HASH=
# Secret for signing session cookies (Generated on first run)
SESSION_SECRET=
# --- Experimental Features ---
# Allow push to remote after publishing
# Default: false
ALLOW_PUSH=false