This repository is primarily documentation and configuration there's no production application to compile. That said, the validation scripts do require:
- Node.js 18+ (for
scripts/check-required-files.js) - Bash (for
scripts/validate.sh) - Python 3 (for YAML/JSON checks in CI)
git clone https://github.com/celo-ht/celoht.git
cd celoht
bash scripts/validate.sh
node scripts/check-required-files.js- YAML files should follow standard YAML 1.1 syntax, spaces only, no tabs.
- Markdown files should follow the rules in
.markdownlint.yaml. - Node.js scripts should use
"use strict"and explicit error handling.
Before opening a Pull Request:
-
Run
bash scripts/validate.shchecks structure, YAML, JSON -
Run
node scripts/check-required-files.jschecks required documents -
Install
markdownlint-cli2locally if you're making significant Markdown changes:npm install -g markdownlint-cli2 markdownlint-cli2 "**/*.md" "#node_modules"
See examples/hello-agent/ for a simple example
demonstrating the data structure behind a CeloHT community agent profile.
For technical questions, use GitHub Discussions
with the question tag.