Files
defiQUG a2dc194a49 Monorepo: Gitea CI, docs, auth/sync, backend APIs, gitignore
- Add Gitea Actions workflow; point README to gitea.d-bis.org/Sankofa_Phoenix/SMOA
- Expand .gitignore for Spring H2 data, secrets, Kotlin .kotlin/, tooling
- Track docs/api/generated ReDoc bundle; refresh api docs README
- Android: network/auth/sync, UI shell, tests; backend credentials/integrity APIs
- Docs, scripts (generate-api-docs), modules and core updates

Made-with: Cursor
2026-03-23 20:19:24 -07:00

776 B
Raw Permalink Blame History

Deploying the web scaffold

Build

No bundler required. Serve the folder docs/web-scaffold/ as static files over HTTPS.

CORS

Set the backend for your web origin, e.g.:

# application-prod.yml or env
smoa:
  cors:
    allowed-origins: "https://smoa.example.com"

Nginx example

location /web/ {
    alias /var/www/smoa-web-scaffold/;
    try_files $uri $uri/ /web/index.html;
    add_header Cache-Control "no-cache" always;
}

PWA

  • manifest.webmanifest install metadata (add PNG icons as needed).
  • sw.js registered from index.html for a minimal offline shell.

CI

See .gitea/workflows/ci.yml for backend tests; add a job to rsync this directory to your host if desired.