Django Full Stack Developement - 2: Project Setting
After successful Django installation Create Project :
⧫ django-admin startproject projectname
Example : django-admin startproject FirstProject
⧫ Check created File
Example: ls
⧫ If you want to display Tree Format structure
tree -f
⧫ Start Server
Example : python manage.py runserver
⧫ Default Server Started On 8080 Port Number , if you want to change port number (Not recommended)
Example : python manage.py runserver 8888
⧫ Django provide inbuilt Server and database
⧫ Create Application in Project Now
python manage.py startapp TestApp
⧫ django-admin startproject projectname
Example : django-admin startproject FirstProject
⧫ Check created File
Example: ls
⧫ If you want to display Tree Format structure
tree -f
⧫ Start Server
Example : python manage.py runserver
⧫ Default Server Started On 8080 Port Number , if you want to change port number (Not recommended)
Example : python manage.py runserver 8888
⧫ Django provide inbuilt Server and database
⧫ Create Application in Project Now
python manage.py startapp TestApp
Comments
Post a Comment