Now that you have your development environment, in the terminal with that environment active, make another folder now called src
where all your project folders will live and run the following command in there:
django-admin startproject Your_Blog .
Navigate to that folder in the terminal and ls
to verify you’re in the right place. You should see manage.py
, a key file in Django projects.
Run the following to migrate changes, a necessary command to sync your project files in Django: python manage.py migrate
. You should see in the terminal a bunch of files are committing. Don’t worry about that for now. Next run python manage.py runserver
to get it up and running.
You should see in the terminal the URL is http://127.0.0.1:8000/. Go there in