, , ,

Create AI Chatbot with OpenAI, Django and React

https://youtu.be/mYRXd1UFrM4?feature=shared In this tutorial you’ll learn how to create a chat bot using OpenAI, Django and React. By the end of the tutorial, you will have a functional Chatbot that looks like this: Prerequisites This…
,

How to add Async Tasks to Django with Celery

In this tutorial you'll learn how to setup Celery on a Django project for executing async tasks. First, I'll explain what asynchronous tasks are and why you might use them. If you already know, feel free to skip the faff and jump right…
, , ,

Add Postgres Database to Dockerized Django Project

In this tutorial I'll show you how to add a PostgreSQL database to a Dockerized Django project. https://www.youtube.com/watch?v=pTtNbXQRUvo We'll be building on top of an existing project that we created in our recent posts: How to…
, , ,

Django Docker Deployment with HTTPS using Letsencrypt

In this guide, I'll show you how to enable HTTPS on a Django app that's deployed using Docker. You can find the full source code for this tutorial project here: LondonAppDeveloper/django-docker-deployment-with-https-using-letsencrypt https://youtu.be/3_ZJWlf25bY Watch…
Django and Docker compose logos on a blueish green background
, , ,

Deploying Django with Docker Compose

There are a number of ways you can deploy a Django app. One of the simplest is by running the app using Docker Compose directly on a Linux virtual machine. The benefits to this approach are: Fastest and easier to get up and running.Define…
Google Cloud Platform, Docker and Django.
, , , ,

Deploying Django to Google App Engine using Docker

In this guide I'm going to show you how to deploy a Django application to Google App Engine (GAE) using Docker. Specifically, we'll be doing this: Creating a new Django project with Docker and Docker ComposeCreating a placeholder…
Docker and VSCode logos on an orange background
, , ,

Use Docker to create a new Django project in one line

If you already have Docker on your machine, you can create a new Django project (using any version) using a single command. Create in an app/ directory: docker run -v ${PWD}/app:/app -w /app python:3.9-alpine sh -c "pip install Django==3.2…
, , ,

Debugging a Dockerized Django app with VSCode

I am a huge advocate for integrating Docker into your development process. There are many benefits to this, such as: Consistent developer environmentsParity of development and production environmentsDependency isolation from your…
, , , , , , ,

How to use GitHub Actions

In our advanced course on building REST APIs, we teach how to use Travis-CI to run unit tests and linting for your project. Since launching the course, GitHub has launched their own CI/CD workflow tool called GitHub Actions and many students…
migrate versus makemigrations with a thinking emoji

What’s the difference between the migrate and makemigrations command in Django?

When writing applications for relational databases such as MySQL or PostgreSQL, there are two things to keep in mine: The first is the structure of the database itself. This includes things such as the tables, fields and relationships…