Nix-Security-WG / nix-security-tracker

Web service for managing information on vulnerabilities in software distributed through Nixpkgs
31 stars 7 forks source link

GitHub sync doesn't run in production #239

Open fricklerhandwerk opened 2 weeks ago

fricklerhandwerk commented 2 weeks ago

Deployment through the module uses daphne, while the initial sync is only run when doing manage runserver.

Make sure deployment always syncs on startup and sync can be ran manually in development mode.

RaitoBezarius commented 2 weeks ago

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.

fricklerhandwerk commented 2 weeks ago

Updated the description