digitallyinduced/thin-backend

Confusing message on startup

jeyj0 opened this issue · 2 comments

jeyj0 commented

When starting the container, the IHP message:

Success. You can now start the database server using:

    /nix/store/30ipyij1cdm1fkz0c0bkmdpx43521mv0-postgresql-14.1/bin/pg_ctl -D build/db/state -l logfile start

is shown, which could be confusing because there's no need to start the database manually.

I think a good solution for this could be to make Thin Backend with a Dedicated Database Container the default setup.

jeyj0 commented

I'm not sure: it would add an additional step to getting started, and converting from integrated to dedicated is easy to do. So it seems for rapid prototyping and just trying out thin-backend, it would be a lot more convenient to keep the integrated database as the default.

On the other hand, it might make it too much of a magical black-box.