Azad Rasul
SmartRS

SmartRS

2- Creating a project

Azad Rasul's photo
Azad Rasul
·May 7, 2022·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

From the command line, cd into a directory where you’d like to store your code, for example, "Desktop"

cd desktop

Then run the following command to create a project named "PollProject":

django-admin startproject PollProject

Change directory to created project:

cd PollProject

To verify your Django project works, we run the following commands:

py manage.py runserver

Then, visit "http://127.0.0.1:8000/" with your web browser. If it work well, you’ll see a “Congratulations!” page:

image.png

 
Share this