Skip to content

OSS Documentation

This repository is distributed as a self-hosted application. The public documentation should help an operator decide whether KoAkademy fits their institution, install it safely, and find the deeper operational guides without duplicating those guides in the README. This note also records the documentation surface for the configurable regulatory report provider boundary. Detailed provider implementation guidance lives in ../development/regulatory-report-providers/.

  • Explain the product, its self-hosted purpose, and beta status.
  • Provide a quick-start path and link to deployment documentation.
  • Point contributors to ../start-here/contributing/ and the provider extension guide.
  • Describe how to verify locally through the contributor and development guides.
  • Link to deeper architecture, operations, API, and module documentation.
  • State that only CHED E-Form B/C is built in for regulatory reporting.
  • Provide the supported Linux one-line installer command, domain example, and a safe inspection path.
  • Identify Docker Compose as the manual deployment fallback.
  • Link to installation, deployment, configuration, development, security, contribution, and API documentation.
  • Add a maintained compatibility table for Linux distributions, Docker Engine versions, and supported architectures.
  • Add a public staging/demo environment only if one is intentionally operated and safe for non-production data.
  • Document the signed module registry, Composer installation boundary, Marketplace enablement, and container update lifecycle.
  • Add provider-specific screenshots only when a second supported provider has a stable UI.

The supported automated path is Linux with Docker Engine and a public domain. It creates or preserves a single-node Docker Swarm manager, creates an attachable overlay network, uses Caddy for ports 80 and 443, and keeps the application dependencies private on the Swarm network.

The stable bootstrap defaults to the latest checksummed GitHub Release. Set KOAKADEMY_DOMAIN for a non-interactive install. The Dokploy installer URL must not be substituted: it installs Dokploy, not KoAkademy.

The bootstrap can be started by a normal user when sudo is available. The operator self-elevates only for Docker, Swarm, and runtime-file operations, then adds the invoking user to Docker’s docker group so later Docker commands can run without sudo after a login refresh. Docker-group membership grants root-equivalent access to the host.

Can I install without running the online installer?

Section titled “Can I install without running the online installer?”

Yes. Operators who manage their own reverse proxy and environment can follow the Docker Compose instructions in ../self-hosting/installation/ and ../self-hosting/deployment/.

What happens if an installer release is incomplete?

Section titled “What happens if an installer release is incomplete?”

The bootstrap and operator verify the checksummed release bundle before the deployment proceeds. A missing or mismatched asset should fail before services are changed.

KoAkademy is beta software. Use staging first, configure durable object storage and backups, and review the security and deployment guidance before handling institutional data.

Use GitHub Private Vulnerability Reporting as described in https://github.com/yukazakiri/koakademy/blob/master/SECURITY.md; do not include student data, credentials, or sensitive logs in public issues.

Only the CHED E-Form B/C provider is bundled. Other providers may be added by an application or compatible Composer module through RegulatoryReportAdapter, but they are not supported until their implementation and tests are contributed and documented.

Can an installation disable CHED without uninstalling it?

Section titled “Can an installation disable CHED without uninstalling it?”

Yes. Set REGULATORY_REPORT_CHED_ENABLED=false and restart the application workers. This hides CHED from the available provider list without deleting provider code, migrations, or existing installation data.

Where should a new provider put its jurisdiction-specific data?

Section titled “Where should a new provider put its jurisdiction-specific data?”

Keep provider-specific migrations, columns, mappings, and workbook logic in the provider or module. Do not broaden shared school or enrollment contracts merely to fit one agency’s template.

Keep ../start-here/architecture/ as the short system map and the documentation site as the detailed operator and domain reference. The minimum public architecture story is:

  • Laravel and Filament provide the server-side application and administration boundary.
  • Inertia, React, and Vite provide the portal interfaces.
  • PostgreSQL stores institutional records; Redis handles cache, sessions, and queues; Gotenberg handles production PDF rendering.
  • The release-backed Swarm operator owns host-level deployment, Docker Secrets, release images, migrations, health checks, updates, and application-only rollback.
  • Docker Compose remains a manual topology for operators who own the reverse proxy and environment configuration.
  • The Marketplace reads the signed module catalog and installed manifests. It does not install Composer packages or mutate a running container.
  • Standalone module releases require a registry metadata update followed by an application lockfile/image update; legacy source-tree modules do not auto-switch to packages.

The regulatory provider guide documents this additional flow:

  1. The registrar controller authenticates the user and authorizes the report action.
  2. The tenant context supplies the current school; the controller validates and normalizes filters.
  3. RegulatoryReportRegistry selects an enabled, school-compatible definition.
  4. The configured RegulatoryReportAdapter builds preview data or returns a PhpSpreadsheet workbook.
  5. The controller adds common metadata or streams the workbook through the generic route.

This keeps provider-specific behavior behind an explicit contract while preserving the CHED key, legacy routes, and existing installations.

  • The repository and Composer package identify AGPL-3.0-or-later; retain the existing LICENSE.md and contribution notice.
  • No paper, benchmark, dataset, or model is being released, so CITATION.cff is intentionally deferred.
  • Reproducible installation is based on an exact stable Git tag, checksummed release assets, and immutable container image metadata. Public release checks should verify the asset bundle on a clean Linux host before publication.
  • Provider contributions must include licensing and attribution information for any external agency template, mapping, or specification they reproduce.
  • Reproducible provider verification consists of the focused Pest tests, npm run docs:check, and the documentation build described in the provider guide. The documentation build requires the dependencies in docs/package.json.
  • Do not publish real institutional data, credentials, production logs, or provider secrets in examples or fixtures.
  • Registry releases must preserve the existing public signing key; key rotation is a coordinated maintainer operation, not a module update step.
  • A separate package-discovery API for regulatory providers is deferred. Current extensions register explicit configuration during application or module boot.
  • DepEd, TESDA, and other jurisdiction-specific report implementations are deferred until a contributor supplies a complete adapter, source mapping, tests, and documentation.
  • A provider marketplace/catalog is deferred. The existing module marketplace does not imply regulatory-report support.
  • Citation metadata is deferred unless the project later accompanies a research or benchmark release.
  • Windows and macOS installers.
  • A hosted demo or managed SaaS distribution.
  • A formal long-term support matrix and response-time promise.
  • A Code of Conduct, which remains an explicit maintainer decision documented in ../start-here/contributing/.