Skip to content

imvickykumar999/DjangoWithHarry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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