Chapter-9

How to run server

9.1. run server :-

Django provides built-in server which we can use to run our project.

runserver command is used to run built-in server of Django.

9.1.1. Steps :-
  • Go to Project Folder
  • Then run command python manage.py runserver
  • Server Started
  • Visit http://127.0.0.1:8000 or http://localhost:8000
  • You can specify Port number python manage.py runserver 5555
  • Visit http://127.0.0.1:5555 or http://localhost:5555

9.2. stop server :-

ctrl + c is used to stop Server.

9.2.1. Note :-

Sometime when you make changes in your project you may need to restart the server. 

PreviousNext