Fixed typos in posts.org
This commit is contained in:
parent
77e8be6694
commit
b086abeb4f
@ -2,7 +2,7 @@
|
||||
title = "Removing comments from my blog"
|
||||
author = ["Roger Gonzalez"]
|
||||
date = 2023-01-14
|
||||
lastmod = 2023-01-14T12:06:53-03:00
|
||||
lastmod = 2023-01-14T14:51:21-03:00
|
||||
categories = ["announcements"]
|
||||
draft = false
|
||||
weight = 2001
|
||||
|
@ -1,37 +1,16 @@
|
||||
+++
|
||||
title = "Using MinIO to upload to a local S3 bucket in Django"
|
||||
author = ["Roger Gonzalez"]
|
||||
date = 2021-01-10T11:30:48-03:00
|
||||
lastmod = 2022-12-29T09:34:56-03:00
|
||||
date = 2021-01-10
|
||||
lastmod = 2023-01-14T14:56:18-03:00
|
||||
tags = ["python", "django", "minio", "docker", "", "dockercompose"]
|
||||
categories = ["programming"]
|
||||
draft = false
|
||||
weight = 2001
|
||||
+++
|
||||
|
||||
Hi everyone!
|
||||
|
||||
Some weeks ago I was doing a demo to my teammates, and one of the things that
|
||||
was more suprising for them was that I was able to do S3 uploads locally using
|
||||
"MinIO".
|
||||
|
||||
Let me set the stage:
|
||||
|
||||
Imagine you have a Django ImageField which uploads a picture to a AWS S3 bucket.
|
||||
|
||||
How do you setup your local development environment without using a
|
||||
"development" AWS S3 Bucket? For that, we use MinIO.
|
||||
|
||||
|
||||
## What is MinIO? {#what-is-minio}
|
||||
|
||||
According to their [GitHub README](https://github.com/minio/minio):
|
||||
> MinIO is a High Performance Object Storage released under Apache License v2.0.
|
||||
It is API compatible with Amazon S3 cloud storage service.
|
||||
|
||||
So MinIO its an object storage that uses the same API as S3, which means that we
|
||||
can use the same S3 compatible libraries in Python, like [Boto3](https://pypi.org/project/boto3/) and
|
||||
[django-storages](https://pypi.org/project/django-storages/).
|
||||
can use the same S3 compatible libraries in Python, like [Boto3](https://pypi.org/project/boto3/) and [django-storages](https://pypi.org/project/django-storages/).
|
||||
|
||||
|
||||
## The setup {#the-setup}
|
||||
|
@ -14,14 +14,12 @@ All posts in here will have the category set to /programming/.
|
||||
** Using MinIO to upload to a local S3 bucket in Django :python::django::minio::docker::dockercompose:
|
||||
:PROPERTIES:
|
||||
:ID: b693b4e8-0550-4238-8a64-30866a47768a
|
||||
:END:
|
||||
:PROPERTIES:
|
||||
:EXPORT_FILE_NAME: using-minio-to-upload-to-a-local-s3-bucket-in-django
|
||||
:EXPORT_DATE: 2021-01-10
|
||||
:END:
|
||||
|
||||
So MinIO its an object storage that uses the same API as S3, which means that we
|
||||
can use the same S3 compatible libraries in Python, like [[https://pypi.org/project/boto3/][Boto3]] and
|
||||
[[https://pypi.org/project/django-storages/][django-storages]].
|
||||
can use the same S3 compatible libraries in Python, like [[https://pypi.org/project/boto3/][Boto3]] and [[https://pypi.org/project/django-storages/][django-storages]].
|
||||
|
||||
*** The setup
|
||||
:PROPERTIES:
|
||||
|
Loading…
x
Reference in New Issue
Block a user