Install Django Project in Ubuntu/Linux

Опубликовано: 13 Январь 2024
на канале: microcodes
735
15

Step 1: make sure you have python installed!! Bu default Ubuntu/Linux systems comes with Python installed by-default now. Let’s see installation commands:
sudo apt install python
sudo apt install python3
sudo apt install python-is-python3

Step 2: Now, let’s install virtual-environment inside your Ubuntu system.
sudo apt install python3-virtualenv

Step 3: Now, let’s create a fresh Django project. For that first enable virtual-environment. Note: Now we are inside virtual-environment sso, it’s showing (env) on left side.
Virtualenv env
source env/bin/activate

Step 4: Now, let’s install ‘django’ package via pip command inside virtual-environment.
(env) pip install django

Step 5: now, let’s create a blank django project using ‘django-admin’ command.
(env) django-admin startproject myapp .

Step 6: Finally for running project, type command bellow:
(env) python manage.py runserver
----------------------------------------------------------------------------------------------------------------------
🌐Our website : https://www.microcodes.in/

📗learn Java: https://java.microcodes.in/index.php/...
🗄️learn MySQL: https://dbms.microcodes.in/index.php/...
🐘learn PHP: https://php.microcodes.in/index.php/b...
📕learn Dart: https://dart.microcodes.in/index.php/...

👉 My Social Media links
🤹‍♂️Linkedin:   / shimanta-das-497167223  
👹facebook : https://www.facebook.com/profile.php?...
📸Instagram : https://www.instagram.com/meshimanta/...
🐦Twitter :   / shimantadas247  
📬Telegram link : https://t.me/microcodesofficial
🎦Youtube :    / @microcodes6887  

⚙️Tools used :
OBS studio, windows, ms office, vs code etc.
⚠️Disclaimer- Some contents are used for educational purposes under fair use.

Copyright Disclaimer Under Section 107 of the Copyright Act 1976,
allowance is made for "fair use" for purposes such as criticism,
comment, news reporting, teaching, scholarship, and research.
Fair use is a use permitted by copyright statute that might otherwise be infringing.
Non-profit, educational, or personal use tips the balance in favor of fair use.


Смотрите видео Install Django Project in Ubuntu/Linux онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал microcodes 13 Январь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 735 раз и оно понравилось 15 посетителям.