How to run Django application server

Feb 16, 2022 · 1 min read · Post a comment

Django is a python free and open-source framework that is widely used nowadays. It offers a lot of libraries and functions that can be easily invoked. Running Django app with a local Django server will help you to speed up the development process. Let’s see what is the best and quick way to run it.


  • Python
  • pip


Step 1. First, let’s see the default or minimal Django app structure:

ls djangoapp/

Step 2. To start the Django server app on the default port, run:

python runserver


Validating models...
0 errors found.

Django version 2.0, using settings 'mysite.settings'
Development server is running at
Quit the server with CONTROL-C.

Step 3. If you want to change the default port and run the Django server in the background, run:

python runserver 8080 &
  • &: Will run the server process in background.

Step 4. My preferred way is to make it listen on all public IPs along with the port.

python runserver &


You can try it on your server or locally and let us know! On a side note, follow our official channel on Telegram.