Yeah it's a weird choice from Microsoft to do things differently and arches wasn't prepared for that @...
On Fri, 19 Oct 2018, 11:23 larrygoh84, <larrygo...@gmail.com> wrote: > using 4.3.1. does this mean its a known issue? it doesn't handle the @ > well? :) > > -------- Original message -------- > From: Vincent Meijer <meijer.vinc...@gmail.com> > Date: 10/19/18 10:02 PM (GMT+12:00) > To: Arches Project <archesproject@googlegroups.com> > Subject: Re: [Arches] Re: Hosting Arches on Azure as a Web App for > Containers > > Which version of Arches are you using? > I created a PR (for #4099) for this earlier, but it was after 4.3.1 was > released. > > Until the next release you could use the master branch (there are docker > images built for that in Docker Hub for every new push: > https://hub.docker.com/r/archesproject/arches/tags/ ) > > However, if you want something more stable, you are also free to use my > own arches base images: > https://hub.docker.com/r/globaldigitalheritage/arches/tags/ > The current tags in there are all based on Arches 4.3.1 and I push a new > version every time I created some additional functionality / fixes for a > PR, such as the one with '@' in Azure database names. > > Currently the latest I got is globaldigitalheritage/arches:4.3.1.11 > > > I use these images as a base in my own Dockerfile > (as described in step 7 of 'Setting up your own Arches project': > https://github.com/archesproject/arches/blob/master/docker/Readme.md#setting-up-your-own-arches-project > ) > > I recommend to follow these steps to create your own Arches project, > rather than editing the core Arches app. > > Hope this helps! > Vincent > > > On Friday, 19 October 2018 05:14:57 UTC+2, Lawrence Goh wrote: >> >> 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. >> >> On Friday, October 19, 2018 at 3:03:47 PM UTC+13, Lawrence Goh wrote: >>> >>> 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 <meijer....@gmail.com> >>> 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 <meijer....@gmail.com> >>>>> 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 arches...@googlegroups.com. To >>>>>> unsubscribe, send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, >>>> send email to archesprojec...@googlegroups.com. 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 archesprojec...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- > -- To post, send email to archesproject@googlegroups.com. To unsubscribe, > send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.