Skip to content
Historical revision — this record as it stood on 1 July 2026, not the current version. View the current record →

How to deploy a knowledge instance

A knowledge instance is a running deployment of app-mediakit-knowledge — the wiki server that renders the platform's documentation and project wikis. Deploying an instance means building the binary, writing a knowledge.toml configuration file pointing at the content repositories, and starting the service. This guide covers deploying a single-instance wiki from a local content path.

For the three-instance model (documentation, projects, corporate), see app-mediakit-knowledge. For declarative content mounts, see use-knowledge-mounts.

Prerequisites

  • The app-mediakit-knowledge binary built from the monorepo (see install-toolchain)
  • One or more media-knowledge-* content repository clones on the deployment host
  • A deployment port (e.g., 9090) that is not occupied by another service
  • A terminal session on the host

Step 1: Locate the content repository

The wiki server reads Markdown from a local path. Identify the path to the content repository you want to serve:

ls ~/Foundry/clones/project-editorial/media-knowledge-documentation/

The repository must contain an index.md at root and category subdirectories with _index.md landing pages. If the content has not yet been cloned, clone it first:

git clone git@github.com:pointsav/media-knowledge-documentation.git

Step 2: Write the configuration file

Create knowledge.toml in the deployment directory:

[server]
port = 9090
bind = "0.0.0.0"

[content]
primary_path = "/path/to/media-knowledge-documentation"
instance_name = "documentation"

[search]
enabled = true
index_path = "/var/lib/knowledge/search-index"

[auth]
enabled = false   # set true + configure MBA if editor UI is needed

primary_path must be an absolute path to a media-knowledge-* clone. instance_name appears in the rendered header and in log messages — use a short, descriptive value.

Step 3: Build or locate the binary

If you have not already built the binary, build it from the monorepo:

cd ~/Foundry/clones/<your-archive>/pointsav-monorepo
cargo build -p app-mediakit-knowledge --release

The binary appears at target/release/app-mediakit-knowledge. Copy it to the deployment host if they are different machines.

Step 4: Start the instance

Run the binary with the configuration file:

app-mediakit-knowledge --config knowledge.toml

Or start it as a systemd service using the provided unit file template (if available in the deployment). The service logs startup messages: it reads the content path, builds the search index, and starts listening on the configured port.

Step 5: Verify the instance is serving

Fetch the wiki home page:

curl -s http://127.0.0.1:9090/ | head -20

The response should contain HTML for the wiki home page rendered from index.md. Fetch a category page to confirm article routing:

curl -s http://127.0.0.1:9090/architecture/ | grep '<title>'

If any page returns a 404, check that primary_path in knowledge.toml points to a directory containing the expected category folder.

Key takeaways

  • The wiki server reads content directly from the local file path — changes to the content repository appear immediately without a service restart
  • instance_name in the configuration is the label used in logs and the rendered header
  • The search index is built at startup and lives at index_path — changing this path requires clearing the old index directory
  • Three separate instances with three content paths serve documentation, projects, and corporate wikis independently

See also

Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →