Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 2.95 KB

File metadata and controls

62 lines (46 loc) · 2.95 KB

InKCre Core

Python backend implementation of InKCre, built with FastAPI, SQLModel, APScheduler, and PostgreSQL.

Local Start

pdm install -G dev --frozen-lockfile
svc dev ensure database --repo . --json

This starts the complete peer runtime: pgvector, deterministic database initialization, core-py, and PostgREST. Committed configuration uses local Docker; ignored svc.local.json may select a validated SSH Docker provider. For Python-only iteration, run pdm run check, then pdm run dev against an initialized database.

pdm run check is the hermetic repository contract used by CI: frozen dependency checks, migration containment, formatting, lint, and the complete unit-test suite.

Developer setup and shared-skill notes: CONTRIBUTING.md

Browser-Only Self-Hosting

A repository owner can deploy their own InKCre instance to Neon and two Render Docker services without cloning this repository. Forking is the onboarding mechanism; the deployed instance is independent from InKCre's canonical production environment. Configure the six documented GitHub Secrets/Variables, then run the checked-in Deploy self-hosted InKCre workflow. The JWT signing secret remains private and grants full Peer authority.

Exact onboarding steps, runtime limits, and cleanup: Self-Hosting On Render And Neon.

Security

Report vulnerabilities privately through SECURITY.md. Security-sensitive design and triage use the shared Security Boundary Model and core-py's local runtime projection,rather than treating hardening practices as context-free requirements。

Documentation Map

If docs/_shared/ is missing, run git submodule update --init --recursive before following shared-doc links.

Generated Artifacts

  • OpenAPI schema: docs/openapi.json
  • Regenerate locally with pdm run python scripts/generate-openapi.py.
  • The repository does not publish hosted API documentation automatically.