Open fricklerhandwerk opened 2 weeks ago
Deployment through the module uses daphne, while the initial sync is only run when doing manage runserver.
daphne
manage runserver
Make sure deployment always syncs on startup and sync can be ran manually in development mode.
I think this is quite brittle for production, the logic should be extracted to a management command, run as part of the ExecStartPre, it can be kept for development purpose there.
Updated the description
Deployment through the module uses
daphne
, while the initial sync is only run when doingmanage runserver
.Make sure deployment always syncs on startup and sync can be ran manually in development mode.