Deploy Django Website to PythonAnywhere in Bangla | How to get a free domain and hosting | Bangla

Опубликовано: 01 Март 2026
на канале: Alpha Hi-Tech
3,049
69

In this video, I will show you how to deploy the Django application to PythonAnywhere. Pythonanywhere provide you domain and hosting. Python Anywhere
is a great place to put your app if you're looking to deploy it for the first time. It's free and easy to use. I going to show you step by
step in Bangla.

1. Create an account on https://www.pythonanywhere.com/

2. Create a Repository on GitHub

3. Push your project to GitHub

4. Test Django web app and create Django requirements files
i) python manage.py runserver
ii) python -m pip freeze (type gather then. YouTube doesn't allow to write gather than symble ) requirements.txt

5. git clone

6. mkvirtualenv --python=/usr/bin/python3.9 venv

7. pip install -r requirements.txt

8. Setting up your Web app and WSGI file
Source code: /home/nongareshop/ecommerce
Working directory: /home/nongareshop/
Virtual Environtment Path: /home/nongareshop/.virtualenvs/env

Paths
/static/ /home/nongareshop/ecommerce/static/

/media/ /home/nongareshop/ecommerce/media_root/

9. WSGI
import os
import sys
path = os.path.expanduser('~/ecommerce')
if path not in sys.path:
sys.path.insert(0, path)

os.environ['DJANGO_SETTINGS_MODULE'] = 'ecproject.settings'

from django.core.wsgi import get_wsgi_application

from django.contrib.staticfiles.handlers import StaticFilesHandler
application = StaticFilesHandler(get_wsgi_application())

GitHub README: https://github.com/arafatHoshen/ecomm...

🧡 CONNECT WITH US ON SOCIAL MEDIA 🧡

🔵 FACEBOOK ►  / nongarehub  

🟢 TWITTER ►   / arafat99hossain​​​  

🟠 INSTAGRAM ►   / arafat99hos.  .

🔵 LINKEDIN ►   / arafat7​​​  

🟤 GITHUB ► https://github.com/arafatHoshen​​​

⚫ MEDIUM ►  / arafat99  

💖 WATCHING ANOTHER VIDEO

➡️ Blockchain Development Roadmap:    • How To Become a Blockchain Developer in Ba...  

➡️ What is NFT Bangla:    • What is NFT Bangla ? | How to make money f...  

➡️ What is Web 3.0 in Bangla:    • What is Web 3.0 in Bangla | How to work Bl...  

➡️ React Todo App Tutorial:    • React JS Bangla Tutorial | React JS Crash ...  

➡️ Python Django Full Course: https://www.youtube.com/playlist?list...

➡️ Html full course bangle:    • Html full course bangle | HTML Bangla Tuto...  

➡️ Python full course for beginners Bangla:    • Python full course [ Bangla ] python bangl...  ​​​​

➡️ Face Mask Detection using Python, Keras, OpenCV & Tensorflow : https://www.youtube.com/watch?v=OQQiK...

➡️ Python OpenCv Playlist Link: https://www.youtube.com/watch?v=mpS8N...

➡️ License Plate Detection using Python OpenCV:    • License Plate Detection using Python OpenC...  


What is PythonAnywhere.com?
PythonAnywhere is an online integrated development environment and web hosting service based on the Python programming language. Created by Giles Thomas and Robert Smithson in 2012, it provides in-browser access to server-based Python and Bash command-line interfaces, as well as a code editor with syntax highlighting.

#Deploy_Django_Website_to_server
#Deploy_a_Django_App_to_Python_Anywhere
#deploy_django_website