-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change static files serving to whitenoise plugin #1491
Conversation
Will this help with the issues in #1236 ? |
I cannot be sure, but my intuition say that it should. Right now it works with docker. |
Could we also check against Kubernetes? We should also test there since that's where we ultimately deploy. Docker can be useful for running code locally, but otherwise it can also get you into a bit of trouble down the line too... You can use Kind to run a cluster locally. |
@korgan00 if you want to grab some time next week, I can walk you through setting up a local kubernetes environment for testing |
@psschwei could you double check too that the panel administrator loads correctly? 🙏 |
@Tansito that would be |
Yes! |
Thank you! I was reading about kind and started installing but I was resolving some security issues and wasn't able to finish the kubernetes test. |
It worked with |
No -- for my local setup I default to DEBUG=1, so still need to check with DEBUG=0... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary
Right now we have some limitations in the way we are serving static files because Django doesn't serve them by default. I use a plugin to implement better static files sharing.
Details and comments
Using whitenoise for django plugin to manage static files.