horilla-opensource / horilla

Horilla is a free and open source HR software.
https://www.horilla.com/
GNU Lesser General Public License v2.1
83 stars 44 forks source link

Static Files? (Documentation issue) #129

Open CodeMouse92 opened 1 month ago

CodeMouse92 commented 1 month ago

Bug Report

Description

Documentation does not describe how to appropriately configure static files. If I do not change STATIC_ROOT (as it is not documented in the setup instructions), I get...

/opt/horilla/venv/lib/python3.10/site-packages/django/core/handlers/base.py:61: UserWarning: No directory at: /static/

If I follow the article about this (which doesn't give clear instructions either) and change it to something like BASE_DIR / 'staticfiles', and create the staticfiles directory in my Horilla directory, it appears to work (having another bug, reported separately). Is this the correct way to do this?

Either way, can this be documented?

Environment

horilla-opensource commented 1 month ago

Hi @CodeMouse92 , Sorry for the issue in the documentation and thanks for pointing it out. By default, the current settings section will work fine without changing the static file route. We'll check and update it asap.

With Regards, Team Horilla

CodeMouse92 commented 1 month ago

When I used the current settings section and default static file route, I got the error stated.

(I have not been having fun.)

horilla-opensource commented 1 month ago

Hi @CodeMouse92 , We are extremely sorry for the issues you have been facing while setting Horilla up. Our team is checking on the issue, and we'll update you asap with a solution for this.

With Regards, Team Horilla