diff --git a/CLAUDE.md b/CLAUDE.md index d095940acb..77d800242b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -43,7 +43,7 @@ npm run aesthetic npm run ac # Run individual servers: -npm run site # Main Netlify dev server (port 8888) +npm run site # Main dev server (port 8888) npm run server:session # Session backend (port 8889) npm run stripe # Stripe webhook listener ``` @@ -201,10 +201,10 @@ The API is provided through function parameters. Common APIs: ### Servers and Services -1. **System Server** (`system/`) - - Netlify dev server serving the main application - - Edge functions in `netlify/edge-functions/` - - Serverless functions in `netlify/functions/` +1. **System Server** (`system/` + `lith/`) + - Production: lith monolith (Express + Caddy on DigitalOcean VPS) + - Dev: `npm run site` (port 8888) + - Backend functions in `system/netlify/functions/` - Handles piece serving, authentication, storage APIs 2. **Session Server** (`session-server/`) diff --git a/SCORE.md b/SCORE.md index 8696e42dac..5cd1d6abcf 100644 --- a/SCORE.md +++ b/SCORE.md @@ -55,7 +55,7 @@ Every piece is URL addressable (e.g. https://aesthetic.computer/notepat). Genera **Backend** - `session-server/` — Real-time multiplayer (Socket.io) -- Netlify deployment for static assets +- `lith/` — Monolith deploy (Express wrapping Netlify function handlers + static files, served via Caddy on a DigitalOcean VPS) - Authentication and data storage **Languages**