summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-14 14:57:41 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-14 14:57:41 -0300
commitb086abeb4f31f09aecc48a174a038441a9eae0de (patch)
treea3f0638b417316e058ab41c22089fa1abdb5c631
parent77e8be669442f69a6cda267fb5bc7337e3eb03b4 (diff)
Fixed typos in posts.org
-rw-r--r--content/posts/removing-comments-from-my-blog.md2
-rw-r--r--content/posts/using-minio-to-upload-to-a-local-s3-bucket-in-django.md27
-rw-r--r--posts.org6
3 files changed, 6 insertions, 29 deletions
diff --git a/content/posts/removing-comments-from-my-blog.md b/content/posts/removing-comments-from-my-blog.md
index dca05dc..943befe 100644
--- a/content/posts/removing-comments-from-my-blog.md
+++ b/content/posts/removing-comments-from-my-blog.md
@@ -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
diff --git a/content/posts/using-minio-to-upload-to-a-local-s3-bucket-in-django.md b/content/posts/using-minio-to-upload-to-a-local-s3-bucket-in-django.md
index abc39e0..91d0f73 100644
--- a/content/posts/using-minio-to-upload-to-a-local-s3-bucket-in-django.md
+++ b/content/posts/using-minio-to-upload-to-a-local-s3-bucket-in-django.md
@@ -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):
-&gt; 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}
diff --git a/posts.org b/posts.org
index 21d540b..12d17e8 100644
--- a/posts.org
+++ b/posts.org
@@ -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: