-
Notifications
You must be signed in to change notification settings - Fork 0
Quickstart
This quickstart gets GitPKM running in a few minutes.
- Git
- Python 3
Optional:
- Conda (only if you want to run scripts in a specific env)
git clone <your-repo-url> pkm
cd pkmbash scripts/setup/bootstrap.shThis will:
- install versioned git hooks (
.githooks) - run the full automation pipeline
bash scripts/runtime/pkm_python.sh scripts/automation/run_all.pyIn an empty starter repository (no CSV tables yet), generation/indexing steps are skipped by design.
Baseline notes are generated automatically from entity tables once you add CSV data.
Index generation is controlled by schema/automation.json.
You can start from schema/automation.example.json and adapt it to your own model.
Dataset names are exact.
Examples:
-
python pkm.py new person "Alex"writes todata/person.csv -
python pkm.py new people "Alex"writes todata/people.csv
The tooling does not singularize or pluralize dataset names for you.
Once you add entity data and run the pipeline, baseline notes are created automatically.
If you also configure indexes, generated index pages can exist, for example:
notes/indexes/all_programs.mdnotes/indexes/program_mentors.mdnotes/indexes/program_mentees.md
Generated note blocks use explicit directives such as:
<!-- GENERATED START: header --><!-- GENERATED START: list:people --><!-- GENERATED START: table:people -->
Edit .env if you want a custom runtime:
PKM_CONDA_ENV=
PKM_PYTHON_BIN=python3- Keep
PKM_CONDA_ENVempty for system Python. - Set it to a conda env name only if needed.