Django Setup

Once Django is installed, we can start to create a new Django project.

Step 1: Start a new Django Project

Start a project by following command-

django-admin startproject geeks_site

Start a new Project Django

Step 2: Navigate to the Project Directory

Change directory to geeks_site

cd geeks_site

Step 3: Start the server

Start the server by typing following command in cmd-

python manage.py runserver

Start Django Server

Step 4: Verify Server Status

To check whether server is running or not go to web browser and enter http://127.0.0.1:8000/ as URL.


Django Installation and Setup

Installing and setting up Django is a straightforward process. Below are the step-by-step instructions to install Django and set up a new Django project on your system.

Prerequisites: Before installing Django, make sure you have Python installed on your system.

Similar Reads

How to Install Django?

To Install Django in Linux and Mac is similar, here I am showing it in Windows for Linux and Mac just open the terminal in place of the command prompt and go through the following commands....

Django Setup

Once Django is installed, we can start to create a new Django project....