StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
621 stars 148 forks source link

Add default STATIC_ROOT and update documentation #179

Closed Potrik98 closed 5 years ago

Potrik98 commented 5 years ago

Referencing #177 and #149. Currently, static files are not correctly collected following the installation instructions in the documentation, consequently making scirius appear without css. Running

python manage.py collectstatic

will collect the static files correctly. However, this step will fail if the value of STATIC_ROOT is not set. Therefore a default value should be provided in the settings.py. The value basedir / static was chosen because it seemed reasonable.

regit commented 5 years ago

I'm rebasing this to get tests fixed and pushing to master.