princekhunt / privateping

PrivatePing is a secure messaging application built on Python's Django framework, providing end-to-end encryption for messages exchanged between users.
https://privateping.bytespot.tech
MIT License
124 stars 30 forks source link

`STATIC_ROOT` setting missing in development.py causes collectstatic command to fail #55

Open snipher-marube opened 5 days ago

snipher-marube commented 5 days ago

Description When attempting to run the collectstatic command with the --clear option, it fails with a traceback indicating that the STATIC_ROOT setting is not configured. This prevents static files from being collected properly.

To Reproduce Steps to reproduce the behavior:

  1. Run the following command:
    python manage.py collectstatic --clear
  2. Observe the error message indicating that STATIC_ROOT is not set.

Expected behavior The collectstatic command should complete successfully, collecting all static files into the directory specified by STATIC_ROOT

Screenshots Screenshot from 2024-06-24 09-57-52