Setting up your first django project.
I am publishing this as a beginner too who is still on his way too mastering the full concepts of django and its functionalities as far as backend development is concerned. this are some of the applications you will need to install. Click here to get visual studio code and install. Click here to get the latest python version and install. Now to check if python is really installed Open the installed visual studio code Open the terminal using the key combination ctrl + ~ and type python --version now check the pip version you have installed pip --version Click here to download django. I will copy the second one because i am on widows OS then paste it in my terminal. checking the installed django version django-admin --version Now you have to create a virtual environment Create a new folder. this is my own new folder and i have named it django-startup click on open in terminal, Now type code . make sure to have the space between space and the stop Withe vs code installed, your folder will be opened with it. Open up your terminal again and type pip install pipenv I have it installed already Now activate your virtual environment by typing pipenv shell You now have your activated virtual environment in you named folder now do pipenv install django now check for the installed django pip freeze We now create our project django-admin startproject simpleproject django-admin startproject project name You should have this. Now on you terminal change the directory to your project(project name) I will type cd simpleproject cd project name Now we create and application using the command python manage.py startapp simpleapp python manage.py startapp application name now we run our server python manage.py runserver Now we have http://127.0.0.1 as our local host and running on port 8000 Hold down ctrl and the click on http://127.0.0.1:8000/ Now we check it out at our running web browser We now have our django welcome page showing that we have done a great job. Thank you for checking out my block and i hope it helped you out one way or another.

I am publishing this as a beginner too who is still on his way too mastering the full concepts of django and its functionalities as far as backend development is concerned.
this are some of the applications you will need to install.
- Click here to get visual studio code and install.
- Click here to get the latest python version and install. Now to check if python is really installed
- Open the installed visual studio code
- Open the terminal using the key combination ctrl + ~ and type
python --version
now check the pip version you have installed
pip --version
- Click here to download django.
- I will copy the second one because i am on widows OS then paste it in my terminal.
checking the installed django version
django-admin --version
Now you have to create a virtual environment
Create a new folder.
this is my own new folder and i have named it django-startup
click on open in terminal,
Now type
code .
make sure to have the space between space and the stop
Withe vs code installed, your folder will be opened with it.
Open up your terminal again and type
pip install pipenv
I have it installed already
Now activate your virtual environment by typing
pipenv shell
You now have your activated virtual environment in you named folder
now do
pipenv install django
now check for the installed django
pip freeze
We now create our project
django-admin startproject simpleproject
django-admin startproject project name
You should have this.
Now on you terminal change the directory to your project(project name)
I will type
cd simpleproject
cd project name
Now we create and application using the command
python manage.py startapp simpleapp
python manage.py startapp application name
now we run our server
python manage.py runserver
Now we have http://127.0.0.1 as our local host and running on port 8000
Hold down ctrl and the click on http://127.0.0.1:8000/
Now we check it out at our running web browser
We now have our django welcome page showing that we have done a great job.
Thank you for checking out my block and i hope it helped you out one way or another.