From 5799b542c8608f2097d4d30a8700cec9ca9ebf22 Mon Sep 17 00:00:00 2001 From: Joren de Graaf Date: Wed, 21 Oct 2026 20:44:13 +0200 Subject: [PATCH] improved nutrition input --- main/frontend/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main/frontend/README.md b/main/frontend/README.md index 8c2bd39..1434943 100644 --- a/main/frontend/README.md +++ b/main/frontend/README.md @@ -49,3 +49,8 @@ VITE_USE_DEV_SERVER=false tasksnest/bin/python main/manage.py collectstatic CSS URLs. Build before `collectstatic`; do not commit `node_modules` or the compiled `dist` output unless your deployment intentionally stores built assets in source control. + +WhiteNoise serves the collected files when `DJANGO_DEBUG=false`. Restart the +Django process after `collectstatic` so it discovers the new files. The public +`/static/` URLs should return CSS and JavaScript with the correct content types; +Vite's development server is not needed in production.