- Python
- PIP
- Navigate to the folder to create virtual environment
- Create virtual environment
py -m venv <venv-name>
- Activate virtual environment
<venv-name>\Scripts\activate.bat
- Install django
py -m pip install Django
- Create project
django-admin startproject chatapp
This will create a folder named chatapp which contains a file manage.py and a folder named chatapp
chatapp
├── manage.py
├── chatapp
├── __init__.py
├── asgi.py
├── settings.py
├── urls.py
├── wsgi.py
- Download the code. Replace the contents of the main folder chatapp, with the downloaded code
cd chatapp
py manage.py runserver