feat: rebuild theme on web settings changed

This commit is contained in:
2025-01-23 09:04:50 +01:00
parent 1e3c2f6a51
commit d5a4345600
13 changed files with 167 additions and 10 deletions
+5
View File
@@ -8,7 +8,12 @@ WORKER_NUM_PROCESSES=${WORKER_NUM_PROCESSES:=1}
RUN_SERVER=${RUN_SERVER:="FALSE"}
RUN_CELERY=${RUN_CELERY:="FALSE"}
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
python manage.py compilemessages
python manage.py build_tailwind_theme
if [ $RUN_SERVER = "TRUE" ]; then
service nginx start