Hi Joel, I haven't personally worked with Azure, maybe others on here have. Conceptually you are doing the same thing as with S3, but the details will be different.
I looked around and just found this: https://github.com/pepperdeck/AzureStorage Probably it would be best to make a blank arches hip app on azure and then follow the directions in that repo. Just to test things out in a controlled environment. Good luck! On Friday, February 10, 2017 at 12:31:19 AM UTC-6, Joel Aldor wrote: > > Hello, > > After a series of unsuccessful attempts trying to migrate my Ubuntu server > from AWS to Azure, I've decided to just install Arches ver. 3 from scratch. > However I was able to transfer my S3 bucket to an Azure blob storage, so > that's taken cared of. > > Now I am at the part where I'm going to modify my settings.py file, and I > realized the variables below are configured for mapping to an AWS S3 > bucket. How can we use Azure variables instead? > > Fyi, I've created an Azure storage container named phmdev2, which is akin > to the AWS S3 bucket name. I've got the container URL and access key as > well. > > INSTALLED_APPS = INSTALLED_APPS + (PACKAGE_NAME,) > INSTALLED_APPS = INSTALLED_APPS + (PACKAGE_NAME, 'storages',) > DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage' > AWS_STORAGE_BUCKET_NAME = 'phm2prod2' > AWS_ACCESS_KEY_ID = 'xxxxxxxxxxxxxxxxxxxx' > AWS_SECRET_ACCESS_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' > S3_URL = 'http://%s.s3.amazonaws.com/' % (AWS_STORAGE_BUCKET_NAME) > MEDIA_URL = S3_URL > GOOGLE_ANALYTICS_TRACKING_ID = 'xxxxxxxxxxxx' > AWS_S3_FILE_OVERWRITE = False > > Thanks for the help. > > Regards, > > Joel > -- -- 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.
