You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,30 +55,37 @@ cd InferenceX-app
55
55
pnpm install
56
56
```
57
57
58
-
### 2. Set Up Data Source
58
+
### 2. Set Up a Database
59
59
60
-
You can run the dashboard against either a live database or a static JSON dump. The JSON dump approach requires no database setup and is the easiest way to get started.
60
+
The dashboard requires a live PostgreSQL database. Set `DATABASE_READONLY_URL` in `.env`; the application supports both standard PostgreSQL servers and Neon.
61
61
62
-
#### Option A: JSON Dump (no database required, local dev only)
62
+
#### Option A: Standard PostgreSQL
63
63
64
-
Download the latest DB dump from [GitHub Releases](https://github.com/SemiAnalysisAI/InferenceX-app/releases), unpack it, and point `DUMP_DIR` at the directory. The dump is xz-compressed and split into one or more `.tar.xz.part*` files; reassemble them by piping `cat` through `xz`. This only works with `pnpm dev`; production builds require a live database.
64
+
Use the `postgres` driver for a local or remotely hosted PostgreSQL server:
65
65
66
66
```bash
67
67
cp .env.example .env
68
-
69
-
# Download and unpack the latest dump (requires xz; `brew install xz` on macOS)
Make sure `DATABASE_READONLY_URL` is not set (or is commented out) in your `.env`.
75
+
Remote PostgreSQL servers use TLS by default. Omit `DATABASE_SSL` unless the server explicitly requires it to be disabled.
76
+
77
+
#### Option B: Neon
78
78
79
-
#### Option B: Live Database
79
+
Set `DATABASE_READONLY_URL` to a Neon PostgreSQL connection string. Neon hosts use the serverless HTTP driver automatically; `DATABASE_DRIVER=neon` can be set explicitly.
80
80
81
-
Set `DATABASE_READONLY_URL` in your `.env` to a Neon PostgreSQL connection string. See [`.env.example`](.env.example) for details.
0 commit comments