Re: [Arches] Re: Hosting Arches on Azure as a Web App for Containers

2018-10-10 Thread Lawrence Goh
Hi Vincent, I found more info on gunicorn and nginx. it seems they need each other. https://stackoverflow.com/questions/12800862/how-to-make-django-serve-static-files-with-gunicorn What do you think? Thanks. Regards, Lawrence On Thu, Oct 11, 2018, 3:58 PM Lawrence Goh wrote: > Hi Vincent,

Re: [Arches] Re: Hosting Arches on Azure as a Web App for Containers

2018-10-10 Thread Vincent Meijer
Ah, I think I know what the problem is. Didn't think of this before, but Django does not want to serve static files (css, js, images, etc) when in PROD mode (and DEBUG=False). There are two routes I can think of right now: 1. Set up White Noise to make Django serve static files (http://whiteno