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.