From 33cf18378f1d831246aa022753725c8a37325f02 Mon Sep 17 00:00:00 2001 From: altf4arnold Date: Fri, 29 Mar 2024 23:40:20 +0100 Subject: [PATCH] documenting static files --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 347d0e0..5df79f1 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ pip install -r requirements.txt ./manage.py runserver --insecure ``` +# Static files : +The static files need to be hosted outside the gunicorn. So I choose to store them on github pages (for now). Which means that every time the statics get changed, one need to run : +``` +./manage.py collectstatic +git add staticfiles/. +``` + # CSS : To install the CSS bundler : ```