Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.23 KB

Deployed : DjangoWithHarry

image image


Steps to run django project

django-admin startproject mysite
# Note: `mysite` is user-defined name
cd mysite

# https://stackoverflow.com/ai/search/34258
python manage.py makemigrations
python manage.py migrate

# python manage.py createsuperuser
python manage.py createsuperuser --username imvickykumar999 --email imvickykumar999@gmail.com
# Note: `imvickykumar999` and `imvickykumar999@gmail.com` are user-defined names

python manage.py startapp home
# Note: `home` is user-defined name
python manage.py runserver
  • >>> Starting development server at http://127.0.0.1:8000/

  • Copy urls.py from mysite folder and paste this file in home folder.



Folder Structure

image image