33 lines
1.6 KiB
Bash
33 lines
1.6 KiB
Bash
# Magic Civilization — base environment (tracked, non-secret only).
|
|
#
|
|
# This file is committed to git. Put only non-sensitive defaults here —
|
|
# hostnames, URLs, flags. Secrets (tokens, keys) belong in `.env.local`
|
|
# (gitignored) or `.env.<mode>.local`.
|
|
#
|
|
# Loader lives in `scripts/run/common.sh` and cascades:
|
|
# .env → .env.local → .env.<mode> → .env.<mode>.local
|
|
# Variables already set in the shell win over all files.
|
|
#
|
|
# New keys: document them in `.env.example` with a one-line comment.
|
|
|
|
# ── Forgejo forge (non-secret: host URL only) ──────────────────────
|
|
FORGEJO_HOST=http://forge.black.local
|
|
FORGEJO_ORG=magicciv
|
|
|
|
# ── Two-host workflow (edit host → run host) ───────────────────────
|
|
AUTOPLAY_HOST=lilith@apricot.local
|
|
PROJECT_ROOT_REMOTE=~/Code/@projects/@magic-civilization
|
|
REMOTE_RUNNER=~/bin/run_ap3.sh
|
|
SCREENSHOT_HOST=natalie@plum.local
|
|
|
|
# ── Dev-guide deploy (p1-15, tourguide) ────────────────────────────
|
|
NEXT_DEPLOY_HOST=lilith@black.local
|
|
NEXT_DEPLOY_PATH=/bigdisk/next/mc/
|
|
|
|
# ── Guide resource / simulator paths (relative to repo root) ───────
|
|
# Consumed by: public/games/age-of-dwarves/guide/tools/bake-simcache.ts
|
|
# (and any other script that needs to read the climate-sim terrain /
|
|
# params inputs without hardcoding subdirectory layout).
|
|
GUIDE_RESOURCES_DIR=public/resources
|
|
GUIDE_TERRAIN_DIR=public/resources/tiles
|
|
GUIDE_CLIMATE_PARAMS=public/resources/worlds/earth/climate_params.json
|