Deploy stack su Proxmox / deploy (push) Failing after 3s
Monorepo npm con apps/public (Angular SSR), apps/private (Angular SPA), apps/api (Fastify), packages/shared e packages/styles; Medusa 2.21 in medusa/; infrastruttura Docker (Postgres PostGIS+pgvector, Redis, Caddy, backup) e workflow Gitea Actions per il deploy via SSH a ogni push su master. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018jQyT6dR9czzGwqb7FkG6u
34 lines
868 B
Markdown
34 lines
868 B
Markdown
# ITI TECHNOLOGY — Piattaforma web
|
|
|
|
Monorepo npm workspaces. Architettura e decisioni: vedi [`CLAUDE.md`](./CLAUDE.md).
|
|
|
|
## Struttura
|
|
|
|
```
|
|
apps/
|
|
api/ → Fastify (backend custom, gateway verso Medusa)
|
|
public/ → Angular SSR (sito pubblico)
|
|
private/ → Angular SPA (area clienti / installatori / admin)
|
|
packages/
|
|
shared/ → @iti/shared — tipi e DTO condivisi
|
|
medusa/ → progetto Medusa indipendente (NON incluso nei workspace)
|
|
prompts/ → prompt di implementazione, da eseguire in ordine
|
|
```
|
|
|
|
## Requisiti
|
|
|
|
- Node.js 24 LTS (vedi `.nvmrc`)
|
|
- npm 11+
|
|
- Docker Desktop (Compose v2)
|
|
|
|
## Avvio
|
|
|
|
```powershell
|
|
Copy-Item .env.example .env # poi imposta le password
|
|
npm install
|
|
npm run build:shared
|
|
npm run infra:up # Postgres (PostGIS + pgvector) e Redis
|
|
```
|
|
|
|
Altri comandi: `npm run infra:logs`, `npm run infra:down`.
|