This is excellent! Thank you very much!

On Tuesday, February 21, 2017 at 7:46:26 AM UTC-4, Scott Hanson wrote:
>
> Hi,
>
> I'm brand new to Mayan EDMS, but testing it for a couple of days it looks 
> like it will be perfect for archiving invoices and other accounting 
> documents (a few hundred PDFs per month) for our restaurant franchise. I'm 
> especially excited about the API and S3 storage.
>
> Despite not knowing much about Python or Django I was able to get S3 
> working with django-storages and boto3. I found the thread at 
> https://groups.google.com/d/msg/mayan-edms/tZjmn5u4y2A/oSbP4fLGMOUJ but 
> it seems to be a bit out of date, so I thought I'd share my experience.
>
> With a test install under virtualenv, after running "pip install 
> django-storages" I added the following 
> to venv/lib/python2.7/site-packages/mayan/settings/local.py
>
> INSTALLED_APPS += (*'storages'*,)
>
> DOCUMENTS_STORAGE_BACKEND = *'storages.backends.s3boto3.S3Boto3Storage'*
>
> AWS_ACCESS_KEY_ID = *'xxx'*
>
> AWS_SECRET_ACCESS_KEY = *'xxxxxxxx'*
>
> AWS_STORAGE_BUCKET_NAME =  *'my-bucket-name'*
>
> AWS_S3_SIGNATURE_VERSION =  *'s3v4'*
>
> AWS_S3_SIGNATURE_VERSION is an undocumented setting for boto3 to use 
> AWS4-HMAC-SHA256 authentication which is required at newer AWS regions like 
> Frankfurt.
>
> Hope this helps anyone else just getting started!
>
> Scott
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" 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.

Reply via email to