Hi Vincent, Had you faced this issue before? We are now trying to connect to Azure DB for Postgresql. The container log just freezes at Testing if database server is up.. Is it senstive to the @? thanks. -------- Original message --------From: Lawrence Goh <[email protected]> Date: 10/19/18 3:03 PM (GMT+12:00) To: Vincent Meijer <[email protected]> Cc: Arches Project <[email protected]> Subject: Re: [Arches] Re: Hosting Arches on Azure as a Web App for Containers Hi Vincent, Yups. Was poking around the codes yesterday and had a go with removing the staticfiles_storage and all went well :) Thanks. Regards,Lawrence On Thu, Oct 18, 2018 at 9:00 PM Vincent Meijer <[email protected]> wrote: If I'm understanding you correctly, you want to serve static files the 'standard' way (directly from the Arches app using Whitenoise) and serve uploaded files from Azure Blob Storage?I do the same at the moment. For that, use: DEFAULT_FILE_STORAGE='storages.backends.azure_storage.AzureStorage' and STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage' (together with the other appropriate settings for Azure and Whitenoise, that you probably already have). Does that make sense?
On Wednesday, 17 October 2018 23:04:35 UTC+2, Lawrence Goh wrote:Hi Vincent, Thanks for that link. Will need to figure to adapt it for Azure use. Besides that, I noticed it loads all the static files into the blob. Was thinking to have the static files be in the container. Only push the uploaded 'media files' into the blob. I guess it doesn't do that right? :) Thanks. Regards,Lawrence On Thu, Oct 18, 2018 at 2:12 AM Vincent Meijer <[email protected]> wrote: The collectfast package looks promising: https://stackoverflow.com/questions/16805232/faster-alternative-to-manage-py-collectstatic-w-s3boto-storage-backend-to-syn -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
