2de1b176428aea937d959939d3005e751f1ead37
indiekit-blog
Admin login
- The IndieKit admin is expected to run behind
/admin. - Set
INDIEKIT_ADMIN_URLto the public admin base URL, including trailing slash (example:https://blog.giersig.eu/admin/). - Login uses
PASSWORD_SECRET(bcrypt hash), notINDIEKIT_PASSWORD. - If no
PASSWORD_SECRETexists yet, open/admin/auth/new-passwordonce to generate it.
MongoDB
- Preferred: set a full
MONGO_URL(example:mongodb://user:pass@host:27017/indiekit?authSource=admin). - If
MONGO_URLis not set, config builds the URL fromMONGO_USERNAME,MONGO_PASSWORD,MONGO_HOST,MONGO_PORT,MONGO_DATABASE,MONGO_AUTH_SOURCE. - For
MongoServerError: Authentication failed, first verifyMONGO_PASSWORD, then tryMONGO_AUTH_SOURCE=admin.
GitHub tokens
- Recommended for two-repo setups:
GH_CONTENT_TOKEN: token for content repo (blog), used by@indiekit/store-github.GH_ACTIVITY_TOKEN: token for GitHub dashboard/activity endpoint, used by@rmdes/indiekit-endpoint-github.GITHUB_USERNAME: GitHub user/owner name.- Backward compatibility: if
GH_CONTENT_TOKENorGH_ACTIVITY_TOKENare not set, config falls back toGITHUB_TOKEN.
Description
Languages
JavaScript
98.3%
Shell
1.7%