Skip to content

Latest commit

 

History

History
65 lines (18 loc) · 624 Bytes

File metadata and controls

65 lines (18 loc) · 624 Bytes

Basic commands Django file-structure -:

-> First install UV -:
  • pip install uv
  • pip install --upgrade uv
  • brew install uv (Mac)
-> Create virtual environment with uv -:
  • uv venv
  • then activate your envirnment
-> Install Django inside that env with uv -:
  • uv pip install Django
-> Create a new Django project -:
  • django-admin startproject main_django
-> Start server -:

First go to main_django folder then run

  • python manage.py runserver (default port)

  • python manage.py runserver 2122 (set the port number)