Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs: update npm run dev descriptions to reflect PM2 lifecycle (#4010)
[._.]/ Adam Eivye394b066d811
diff --git a/README.md b/README.mdindex fe62ec9a5a..16c5496eac 100644--- a/README.md+++ b/README.md@@ -324,9 +324,11 @@ PM2 keeps PortOS running in the background and auto-restarts on reboot (with `pm```bashnpm run setup # Install all dependencies (alias: npm run install:all)-npm run dev # Vite hot-reload on :5554, API on :5555 — open :5554 in dev+npm run dev # Starts PostgreSQL, launches full PM2 ecosystem, and tails logs```+`npm run dev` executes `scripts/dev-start.js` to initialize PostgreSQL, stop existing PM2 processes, and launch the complete PM2 process ecosystem defined in `ecosystem.config.cjs` (`portos-server`, `portos-cos`, `portos-ui`, `portos-autofixer`, `portos-autofixer-ui`, `portos-browser`) while tailing logs. The React frontend runs with Vite hot-reload on `:5554` and the API on `:5555`.+`:5554` is **only** used in dev for the Vite hot-reload server; in production (`npm start` / PM2) the React build is served from `:5555` directly.## Network Access@@ -352,7 +354,7 @@ PortOS binds to `0.0.0.0` so you can access it from any device on your Tailscale```PortOS/-├── client/ # React + Vite frontend (Vite dev on :5554)+├── client/ # React + Vite frontend (Vite dev server on :5554 under npm run dev)├── server/ # Express API (always serves on :5555)├── autofixer/ # Standalone crash-detection/repair worker├── data/ # Runtime data (apps, providers, history, brain, pipeline, …)diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.mdindex eebc25ae02..c9732aa172 100644--- a/docs/CONTRIBUTING.md+++ b/docs/CONTRIBUTING.md@@ -11,10 +11,12 @@ npm run install:all# Start developmentnpm run dev-# Or with PM2+# Or with PM2 directlypm2 start ecosystem.config.cjs```+`npm run dev` executes `scripts/dev-start.js` to initialize PostgreSQL, stop any existing PM2 processes, and start the complete PM2 process ecosystem defined in `ecosystem.config.cjs` (`portos-server`, `portos-cos`, `portos-ui`, `portos-autofixer`, `portos-autofixer-ui`, `portos-browser`) while tailing logs.+**PostgreSQL is a mandatory dependency** — the server fails fast at boot without a healthy database. `npm run install:all` runs `npm run setup:db`, which provisions either the system PostgreSQL (`:5432`) or a Docker container (`:5561`, via `docker-compose.yml`). See [STORAGE.md](./STORAGE.md) and the [Postgres ADR](./decisions/2026-06-07-postgres-as-primary-datastore.md).For DB-backed tests, provision the separate test database first (`npm run setup:db:test`) and run them via `npm run test:db` — never against the real `portos` database.@@ -81,7 +83,7 @@ refactor: code restructuring```PortOS/-├── client/ # React + Vite frontend (port 5554)+├── client/ # React + Vite frontend (Vite dev server on port 5554 under npm run dev)│ └── src/│ ├── components/│ ├── pages/