conservancy / reimbursinator

Git Up GitHub: https://GiveUpGitHub.org
https://GiveUpGitHub.org
GNU Affero General Public License v3.0
7 stars 6 forks source link

Django admin css does not load #68

Closed danieldupriest closed 5 years ago

danieldupriest commented 5 years ago

When used in production, Django is not supposed to serve static files directly, and it is expected that a separate nginx (or other) server will be set up to do this. Because of this the Django admin pages do not load their CSS and it is quite an eyesore. Should we maybe set up an additional nginx installation on the back end to serve the css for the admin UI?

Relevant SO question: https://stackoverflow.com/questions/7241688/django-admin-css-missing/14062684

danieldupriest commented 5 years ago

Working on a solution that will serve the CSS/JS files with a 3rd docker container running an additional nginx server.

danieldupriest commented 5 years ago

Added a 3rd docker container with nginx installation to handle admin css/js.