Starting Django
Setup venv
1~$ python3 -m venv venv
2~$ source venv/bin/activate
Install Django (If not yet installed, otherwise skip)
1~$ pip install django
Create the skeleton of the site
1~$ django-admin startproject mysite .
Server file structure of current directory would be as follows:
1manage.py
2mysite
3mysite/__init__.py
4mysite/asgi.py
5mysite/settings.py
6mysite/urls.py
7mysite/wsgi.py
Run server
1python3 manage.py runserver
Visit http://127.0.0.1:8000 or whatever is shown after running the server.
At this point, "db.sqlite3" would be added (sqlite is the default DB).