Do the Migration 1python3 manage.py makemigrations 2python3 manage.py migrate Create the Admin Account 1python3 manage.py createsuperuser Run server 1python3 manage.py runserver Visit http://127.0.0.1:8000/admin and use the account created earlier.
By now, you should now have a basic django skeleton site as shown in Starting Django.
Here's how you create a basic site that now says "Hello World"
Create the App Inside your basic skeleton site, run the command:
1~$ python3 manage.py startapp myapp Server file structure of current directory would now be as …
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 …