usermanager-example icon indicating copy to clipboard operation
usermanager-example copied to clipboard

Create an in-process XTDB version?

Open seancorfield opened this issue 2 years ago • 1 comments

The idea is to make the example more turnkey, so folks don't need an XTDB instance running to use the app.

seancorfield avatar Dec 30 '23 17:12 seancorfield

At this point, the example uses localhost:5432 as the PG-wire server (and the tests still run it in-process, but with PG as well).

To run the whole app in-process would be easy, but would require xtdb-core and some JVM options to be on the classpath, which in turn means aliases.

Perhaps add :xtdb as an alias and update how :test is used (so :test:xtdb is required)?

Then add a local command-line arg to the app and have it conditionally do requiring-resolve on starting an in-process node.

Update README appropriately.

seancorfield avatar Sep 03 '24 01:09 seancorfield

Running XTDB via Docker is pretty straightforward so I don't think the extra complexity is worthwhile.

seancorfield avatar Nov 24 '24 19:11 seancorfield