docs: sync remaining .md to 4000s infra
This commit is contained in:
@@ -99,3 +99,7 @@ Required verification after implementation:
|
||||
- Exercise `classifyImage(file)` against the running ML service with a local image file or synthetic image and confirm it returns `predictedDiseaseSlug`, `confidence`, and sorted probabilities.
|
||||
|
||||
If full API route testing is blocked by external database or upload service requirements, report that explicitly and include the lower-level verification evidence.
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -88,3 +88,7 @@ The implementation should pass:
|
||||
- `bun run build`
|
||||
|
||||
Manual verification should launch API and web locally, open the dashboard, select an image, submit it, and verify that uploader/model/database success or structured error states render without crashing.
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -48,6 +48,8 @@ Each image will also receive a SHA tag for traceability.
|
||||
|
||||
## Compose deployment
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
The VPS will run `docker compose` from `/opt/ZeaVis-Edu`.
|
||||
|
||||
The compose file will define:
|
||||
|
||||
@@ -68,3 +68,7 @@ The implementation should pass:
|
||||
- `bun run build`
|
||||
|
||||
Because this includes frontend behavior, the app should also be launched locally and the main pages/manual flow should be checked in a browser if the environment allows it.
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -74,3 +74,7 @@ No test framework is added in this scaffold. Tests should be introduced with the
|
||||
- Real dashboard data.
|
||||
- Database migrations for domain entities.
|
||||
- Deployment configuration.
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -33,3 +33,7 @@ If either command fails due to dependency updates, fix the underlying compatibil
|
||||
- ML pipeline changes
|
||||
- UI redesigns or feature additions
|
||||
- Database schema changes unless a dependency update requires a generated type/config compatibility fix
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -82,3 +82,7 @@ Manual verification for the initial implementation:
|
||||
- Call `POST /predict` with a real image file when an example corn leaf image is available.
|
||||
|
||||
The repository does not currently have a Python test suite for this new service. Automated tests can be added later if the service grows beyond the initial capstone scope.
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -283,3 +283,7 @@ Manual error path:
|
||||
2. Call a diagnosis endpoint while logged out and confirm unauthorized response.
|
||||
3. Access expert review as a non-expert and confirm forbidden response.
|
||||
4. Temporarily omit Google OAuth env and confirm Google login is hidden.
|
||||
|
||||
---
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
@@ -143,6 +143,8 @@ The repository has no existing global test suite, so the Rust service checks bec
|
||||
|
||||
## Documentation and deployment updates
|
||||
|
||||
> Catatan (2026-08-02): port produksi sekarang API 4006, nginx 4011, ML 4012; deploy Nix+systemd+Caddy.
|
||||
|
||||
Update documentation so runtime serving no longer describes FastAPI/TensorFlow as the production ML service. Keep Python/TensorFlow documentation for training and export.
|
||||
|
||||
Update:
|
||||
|
||||
Reference in New Issue
Block a user