Deploy using docker - Deploy your Django app using heroku - Part 1

preview_player
Показать описание
Due to the size of the file we are creating two parts of this tutorial.
Part 1 contains how to create a basic web application and how to use Django.

Part - 2 contains instructions on how to use Docker and Heroku.

Using Python and Django to create a basic web application.
Using Docker to create an image and publish to Heroku and host it.

1. Installations
b. pip (for windows users)
i. if pip isn’t installed

2. Environment
a. conda create -n test_django python=3.8
b. pip freeze
c. Django – pip install django

3. Creating application image

4. Web app publishing

5. Basic commands in terminal
django-admin startproject project _name
cd project_name
django-admin startapp application_name

6. Creating basic app using django
7. Dockerize the application created in django
8. Pushing it to Heroku or other providers (AWS or Azure)
9. Editing docker images using docker bash

pip install django
django-admin startproject project_name
cd project_name
Рекомендации по теме
Комментарии
Автор

Hello, your video is good and short which is best.. Plz make a video on deploying django with mysql on Azure

deepanshuaggarwal