Skip to content

muhammadaliazhar/django-app

Repository files navigation

Deployment-of-Django-app-with-Nginx-and-Mysql

image

Step 1

First install docker and docker-compose in your system

apt update
apt install docker.io -y
apt install docker-compose -y
docker -v
docker-compose --version

step 2

Git clone the code in your local system

git clone https://github.com/muhammadaliazhar/Deployment-of-Django-app-with-Nginx-and-Mysql.git

Step 3 Move inside the project folder and run the application using docker compose

cd project-folder
docker-compose up -d

Step 4 check that 3 containers are running in your system

docker ps

Step 5 Allow port # 8000 in your security group rule/ firewall and access application using your public ip address

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published