The full scope across this batch: POST /sessions key→token exchange, SessionStore dual-index with revoke_by_id, CLI Bearer injection (ONTOREF_TOKEN), ontoref setup --gen-keys, install scripts, daemon config form roundtrip, ADR-004/005, on+re self-description update (fully-self-described), and landing page refresh.
19 lines
581 B
XML
19 lines
581 B
XML
# .ontoref/project.ncl — project self-registration for ontoref-daemon.
|
|
# Copy to your project's .ontoref/project.ncl and fill in the fields.
|
|
# Register: ontoref project-add /path/to/your/project
|
|
|
|
let s = import "ontoref-project.ncl" in
|
|
|
|
s.make_project {
|
|
slug = "my-project",
|
|
root = "/absolute/path/to/my-project",
|
|
|
|
# Paths passed as NICKEL_IMPORT_PATH when exporting NCL files from this project.
|
|
nickel_import_paths = [],
|
|
|
|
# Auth keys. Generate hash: ontoref-daemon.bin --hash-password <password>
|
|
keys = [
|
|
# { role = 'admin, hash = "$argon2id$v=19$..." },
|
|
],
|
|
}
|