Eduardo Zepeda's latests posts
FastAPI tutorial, the best Python framework?
- docker
- fastapi
These last few days I have been testing a Python library that is becoming famous, FastAPI, a framework for creating APIs, such as REST APIs or RPC APIs. FastAPI promises to help us create fast APIs in a simple way, with very little code and with extraordinary performance, to supp...
Read more
Cookiecutter-django for configuring and deploying in Django
- django
- docker
I wrote the previous entries as an introduction for this week's topic. In this post I'm going to explain about a cool tool for Django called cookiecutter-django. This tool for django allows you to generate projects that integrate docker, celery, mailhog, aws, gcp, and...
Read more
Get to know the basic Docker Compose commands
- docker
- linux and devops
Docker compose allows us to create applications with multiple containers, these containers will interact and will be able to see each other. To configure each of these services we will use a file in YAML format (also called YML). In this docker compose tutorial I show you some of...
Read more
How to write a docker file from scratch
- docker
- linux and devops
In the previous post I explained the most common Docker commands, run, exec, pull, etc . Up to this point everything has been done manually, through the terminal, but what if we want a way to save our process transformations to an image for easy sharing or to keep track in git. D...
Read more
The Most Useful and Basic Docker commands
- docker
- linux and devops
If you read the previous post where I explain what Docker is for you should already have a pretty simple idea of Docker, but I haven't posted anything about the most basic docker commands. Here I explain them in detail, and also how to use volumes along with Dockerfiles to ...
Read more
What is Docker and what is it for?
- docker
If you have been using computers for a long time, you are probably more familiar with a virtual machine than a container, aren't you? Docker solves the same problem as virtual machines but in a different way than the latter. But let's take it one step at a time, let&r...
Read more
Understand inheritance types in Django models
- django
Sometimes, when we create Models in Django we want to give certain characteristics in common to several of our models. Probably, the first approach that would come to our mind would be to repeat the fields over and over again. This would bring us two problems; first, we are repea...
Read more
How to convert jpg to webp on GNU Linux?
- linux and devops
A couple of weeks ago I wanted to convert my ecommerce images from jpg to webp. Normally to modify images in GNU/Linux I use GIMP or imageMagick, but neither of these two have native support for webp, or if they do I'm so clueless that I didn't notice.And why not...
Read more
Learning Django through the book Django by example, my review
- django
This book plans to teach you Django by creating four projects from scratch. Django by Example starts by creating a blog, then a social network, an online store and finally a learning platform. Each project is developed practically from scratch and uses some libraries to complemen...
Read more