 Hello everyone, so like I mentioned before we will be starting off with the first live session for this workshop which is all about Django installation and the environment setup. I guess we have as many people as possible and we can start now. So good to know that quite a few folks have already installed the Anaconda installation or the Anaconda Python environment. We will start off with me trying to explain what the Django environment is or what the Python environment is. So if you all observed any sort of software in Python usually has import statements and with the import statements what you are doing is you are trying to import the third party package into your program. To be able to import the third party package you first need to install it on your system. By installing you are downloading it, setting it up on a machine and you can then use it in your code. These are what are called these installed packages are what are called modules in Python. So you install a Python module locally and you can then use it in your code. So generally what happens is if you are not using Python virtual environment they are called virtual environment for a reason. If you are not using a Python virtual environment then you are most probably going to be installing everything on your local machine in a specific folder in your system. I am not sharing my screen as of now I am just explaining a few things before we start sharing screen. So don't worry you are not missing out on anything. Back to what virtual environment are once you install the Python module it is basically downloaded and installed in a specific internal path within your system. If you are installing it directly into your system there is a default path that Python has already specified where your packages or your modules will be installed. But it so happens that usually you are working on more than one project at a time. If you are working on more than one project at a time it is very likely that you have more than one kind of installer module that you need. So you are going to have one project which has modules A, B and C. You can have a second project which has modules B, C and D. So you can have some things in common and some things that are different. In order to be able to control and isolate these modules and their installation. So what a virtual environment on your system does is that it allows you to isolate your module installations into different bins or different areas so that they don't mix with each other. Complexities usually arise if there are common modules in two different projects. There could also be complexities due to versions of a module. So module could have more than one version which is active. So one project could be using version 1 of module B. A second project could be using version 2 of module B. And because of this you do not want the same module in the same place. And you do not want this mix-up happening where both your projects are using the same version. So you want to be able to separate them properly which is why you use a virtual environment. I will now start sharing my screen. So virtual environments can be run all Anaconda on a machine. What happens is Anaconda also gives you the virtual environment setup automatically. So you don't have to do any funny business or installations on your own to set up a virtual environment. Anaconda sets it up for you on its own. For folks who have installed Anaconda, if you are using Windows, you can go to your start menu. Type in Anaconda in the search bar and you should be able to open the Anaconda Navigator. If you search for Anaconda, you should get an option called Anaconda GUI, Anaconda Launcher or Anaconda Navigator. This should open a screen like this. Opening it up takes a few minutes because it's a large software package, it's a large software suite. So please be patient, go to your start menu, type in Anaconda, search for it, find out something called Anaconda Launcher or Anaconda Navigator and open it up and you should be able to see a screen like this. With Anaconda Navigator written on top, home environment, etc. on the left. And just keep a watch on the chat inside so that I can see if people are able to do this. In case you are not able to open, please just let us know and we can try to help. Once you are done opening, please wait. I have not given any more instructions as long as I have not given any instructions beyond that point. Please just follow along and wait at that point. Do not ask what to do next. Open your Anaconda Navigator. Let it take a few minutes to open and wait and confirm in chat whether you can see this kind of a screen. I will wait for someone to say yes or no because I need to make sure that info can be able to open. Cool, I guess a few people have been able to open and are able to launch Anaconda. So folks, you need to open it up on your own computer as well, not just see my chat screen. So for folks who have already opened it up, you can see that there is an environment tab on the left. The environment tab, once you click on it, it will show you something called base or root in brackets. And then it will show you a lot of packages on the right. Click on environment, do not change anything. Just look at the screen. It shows you something called base. Base is the existing default environment that you get along with the Anaconda installer. You do not need to create a specifically new environment. You can if you want to. It allows you to create new environment. But for this purpose and this moment, we do not need a new environment. I'm just showing you what an environment means and what it looks like in the Anaconda UI. So this is what an environment is. It has an arrow on the right and then it has a lot of list of these names on the extreme right. These are all the packages that have been already installed in the base virtual environment. So when the base virtual environment is active on your system, your Python interpreter or your Python program will be able to access all these packages. It will be able to import all these packages. So I remember someone using the matplotlib package sometime back earlier in the workshop. So that is because matplotlib is already available in this list. So you can see that matplotlib shows up when I search for it in this list. So all of these packages are installed by default and given to you by default by Anaconda itself, which is the reason why we are using Anaconda. It gives you everything conveniently and you don't need to constantly install it on your own. Now what you'll be doing is you'll be clicking on the arrow that is shown on the right of base and you will be opening the terminal. So click on the arrow, click on open terminal. I already have my terminal open, which is why it shows me this window. In your case, it will open up a new windows terminal. Open it up. It should show you something of this kind. It will show you base on the extreme left. It will show you some command. It will show you your computer name, etc. in between. And then it will show you a blinking cursor or a cursor on the right. So please open this. How do you do it? I'll show this terminal. You click on the arrow. You click on terminal, open terminal and you should have a terminal open. You can see that this terminal window opened up for me. Can you please do this and wait on the wait once the terminal window shows up? And please everybody try this, open this and tell me if you have done this successfully. I'll wait and check. Yes, okay. Cool. Now to make sure that we are in the right terminal and everything is working fine. We'll try to see if Python is working. You can do Python space hyphen v. And sorry, I'll give you a better command. You should type in Python space hyphen version and it should give you an output of the Python version that you're using. This is just a command that lets you check whether your environment has the proper Python version that you want or not. It also gives you the understanding that Python is properly installed. If this command does not work, if this command does not print out the expected result, and there's something wrong with your environment or there's something wrong with your Python installation or there's something in this case, there's something wrong with your Anaconda installation, for example. So please type in Python space hyphen version. And please let me know if you can see the command line text. So I see that a few people are able to see the text. I hope that you both have typed in the command and can get the proper output. Yes, the output may be different. Mine is an older version of Python. You may have a higher or a more advanced version of Python that is fine, perfectly fine. The version number may differ, but as long as it is Python 3.0 something, it's perfectly fine. What else? We will now be using something called the PIP tool, the PIP tool. The PIP tool is basically a stands for package installer, Python package installer. And what it does is it allows you to pull a package from the internet and install it on your local machine so that you can have the module available and use it in your program. So like I mentioned, we usually install third party packaging. The tool used to install this package is called the PIP tool, the PIP command. So to check if this command runs properly, first type in PIP space hyphen version, I guess. Yes, this should give you something of this sort. It should tell you the PIP version. Again, this number may be different. That is perfectly fine. Do not upgrade. Do not change. Do not do anything. Just type in PIP space hyphen version and wait. Tell me if this gives you the expected output like this. It should tell you the version number of PIP. So now that you've run these two commands, that means that your environment is properly set up. It has the proper Python version installed. It has the PIP tool installed. So now you can install your Django installation. I think, yeah. So I remember in the past there have been cases where a few folks have not been able to install Python because this PIP tool installs the Django package in a default folder inside your C drive in a very secure C drive. So sometimes what happens is your computer needs extra permissions to be able to install Django in the requested location. So for now, please make sure just to avoid these problems later on. Can you please make sure that you have closed your terminal and your Anaconda navigator. Go back to your start menu and open your Anaconda navigator by using run as administrator option. Please use the run as administrator option to open your Anaconda navigator. I know that you already opened it up. Please close this terminal. Please close your original Anaconda navigator. Go back to your start menu. There should be an option to run it as administrator. So I usually think that happens when you right click it on right clicking. You can see the run as administrator option to run your Anaconda navigator as administrator and then follow the steps again. Run your Anaconda navigator as administrator. Go to environments tab. Then open the terminal. So I understand that this was slightly confusing, but I'm just trying to make sure that everybody is on the same page because while installation some folks then get permission issues and then it becomes difficult to sort of manage the issues. So you might as well do it here and now. For folks who have not yet done it, I'll give you maybe a minute more. Please close your terminal. Please close the terminal that you are using at the moment. Please close the Anaconda navigator that you are using at the moment. Go back to your start menu. Search for Anaconda navigator or Anaconda launcher again. Right click, open the run as administrator option and then use the Anaconda navigator again. Go to environments tab. Click on the arrow, open terminal. Very simple. Just the steps that you followed, but you now need to run your Anaconda as an administrator privilege. Once you've done that, come to this point again. You don't need to run the commands again. Once you've done that, open your terminal and wait. Do not move forward. Please open the terminal, but make sure that you open your Anaconda with the run as administrator option. I'll wait for you. I will also wait for people to tell me that they've done this and that things are working fine. Hello, am I audible? Yes. When I try to run it as an Anaconda administrator, only there is a pop-up exe file and it disappears. I tried it several times. Just a minute. It is asking whether you want to update the Anaconda navigator. You don't have to update it. Can you please just cancel that option to update and see if it opens up? Okay. Unfortunately, I will not be able to do the same steps on my screen because I am using an Ubuntu operating system. Actually, I am using Windows. Correct. Someone in chat is asking me, can you please follow along the same steps on your screen? Unfortunately, I can't do the same thing on my screen because mine is Ubuntu and it's completely different. So I won't be able to replicate the same scenario. But we've been dealing with these issues for quite some time, so I'm just trying to repeat the steps for you verbally so that you can follow along. Same problem is there, sir. Only exe file is appearing and now it has opened the Anaconda navigator. There is some problem. So the navigator does open up, right? But after popping up few exe files, then those exe files disappear and after some time, the Anaconda navigator appears. I think that is expected behavior. Let's try installing first and see if everything goes well. Yes, yes, yes. For folks on right click, no option appears. There should be a run as administrator option on a submenu somewhere. So you can either do that. You can either go to your program files in your Windows Explorer and then right click on Anaconda from there. Okay. So the run as administrator option should be available somewhere. It is possible that your system you logged in as a user who does not have administrator privileges at all. Is that possible? Yes, even after running after administrator, I couldn't open the terminal from base root. Were you able to open it earlier? No, but there is an option in the start menu itself, Anaconda prompt. You can try that as well and let me know if that works. It should not be a Python prompt. It should be a regular terminal. Yes, it is regular prompt. But even then that also will have to run as administrator. Okay. Cool. So I guess quite a few folks have reached to a point where they have the terminal open with the administrator privileges running. Now what we do is we do we install the package Django package itself. So we type in PIP space Django and that's it. This will install so you can there are a lot of additional options that you can add here. You can specify the version, etc. We will not go into that many details. Installing just typing PIP. Sorry. The command is wrong. My mistake. PIP install paste Django is the correct command. PIP space INSTAWL paste BJANGO is the correct command. PIP space install space Django installs the latest version of Django that is available officially on the repository online. Type this in press enter. Please make sure that the spellings are correct. Django starts the D and it is pronounced as Django not Django just for your information. And once you press enter it should install a few things. There should be some output on your screen and it should say successful install and it will show up on my screen as well. Okay. So I already had Python installed. Let me see if I can do something that shows you how the output will look like. So please don't follow these commands. I am just trying to set up an environment so that I can show you how it looks like. Don't follow these steps from now on. I will tell you when to follow. Just to show you I see that a lot of folks have already installed stuff. But just to show you what it looks like PIP space INSTAWL paste Django and when I press enter it will give you output. A lot of folks will see a lot of things that are being done. So like you saw here it installs a lot of stuff. It will say installing collected packages and finally it will hopefully in somewhere down the line it will tell you successfully installed. So once that is done that means that you have your Django package installed correctly. Hello sir. Am I audible? I am facing to get it installed and when I try to run it is not executing when I write this temp hash dollar PIP installed Django it is saying the temporary is not recognized as an internal extension. Correct sir because you don't have the temporary directory I already told you you are not supposed to follow those commands you are just supposed to do PIP install Django that's the only command that you need to run. So that will work on our system. In your terminal once you open the terminal using the open terminal option just type in PIP space install space Django that's the only command that you need to run. So it is working. And you should show it will show up something like successfully installed. People who are listening this yes yes so wait for it to install once it is done it will show you something called successfully installed these packages etc. and it will also show you Django as one of the packages that is installed so the current working successful release of Django or the successful version that is available is 4.1.3 and that is what is installed in your environment at the moment. The other packages are just dependencies they are called dependencies because Django depends on these other third party packages and they are installed automatically you don't have to worry about that. For folks if it is taking time that will happen just wait be patient it should be if it is running through you are probably going to get a successful installation just wait for it to complete. Once this is done you have successfully installed Django properly on your system and you should be able to run or use Django whenever you want to use it in one of your packages or create a Django application a good way to test out whether whether the package is installed is to check if you can import it in a python environment so what you can do is wherever you are wherever you are now in your terminal just type in python press enter and you should get the python interpreter which shows up like this with three arrows and a blinking arrow right if that shows up type import Django and it will again show three arrows and wait for a blinking cursor if this has happened and there is no error there is no extra text then your Django has been installed and you are able to import it this is just one way to check if your Django package is installed correctly right you can then exit your environment using exit or exit open bracket close bracket sorry right these commands you can follow if you want to check if Django is installed right please make sure that you exit the interpreter correctly because you need to be in your terminal to run the other commands hello sir yes hi hi sir once I give a PIP install Django it shows me defaulting to user installation because it's a normal site package it's not writable so what should I do sir that's okay did it get installed yeah we already installed the navigator and I don't know what it means after running PIP space install Django did it reach a point where it said successfully installed etc etc yeah it's downloading sir the Django 4.1.3 it's downloading let it complete once it completes let's see if Django is properly installed using the python command and then we can try to figure out if figure out what has happened what has not happened etc for folks who already reached a point where they have checked if you have typed in python if you have finished the import Django command make sure that you type exit open bracket close bracket so that you have reached the point where you are in the terminal do not close the terminal please wait in the terminal please just wait where you in the terminal that was opened up just wait and wait for next steps I'm just trying to make sure that everybody is at par here everybody is on the same page because this is important you need this package installed otherwise you will not be able to follow along with all the live sessions that happen here on forward for folks who are actively responding on chat it helps me understand that they are doing something and everything is working fine for other folks who are not responding on chat it is perfectly fine if you don't respond as such but please make sure that you are following along if you are stuck somewhere please let us know that you are facing some issue if you don't get this installed properly at this point in time it will be very difficult to guide you later on and it will not be possible for us to work with you as well as take the Django workshops for work so it will cause a lot more delay please make sure that the installation has happened properly please make sure that you are following along thank you KCM installation is not successful it is an error it is showing up as a read timeout error which probably means that you have some error with your network can you please try running the fifth space install space Django command again fifth install Django please run it again and try if that doesn't work again then we can try to see what the issue is but the fact that it tells that it is a read timeout error means that it couldn't connect to the package repository online or there was some network issue which caused it to break for other folks for whom it is still downloading etc the only thing that you can do right now is wait so let's do that and make sure that everybody is at par for other folks who have already done this please wait do not move on or do not move ahead cool I am assuming that most of the folks have this setup download it Mr. Sivaranjani did you get it installed or is it still causing a problem or can I wait for you sir actually it is downloading and it shows me an error like exception error like exception and again it gives a message PIP version can you can you share your screen yeah sure so in the meantime for folks who already have this installed this sort of concludes the installation session for for this the installation session that we planned from 4pm this is what it is we have Django installed and setup and you are ready to sort of start working with Django and we tell you how we have two options from here on you could either follow the schedule and go on with the function module that is available on Gux and come back here at 340 so that we can setup Django the Django project and the Django files files etc or we could continue from here on but it will take considerable amount of time because the Django project setup is a little long so I will take a vote and while Sivaranjani is sharing a screen I will try to understand whether folks will want to go off complete function module and come back or do you want to continue with the live session and setup the Django the Django environment the Django project actually I installed another system then how should I share the screen with you yeah in that case okay the other system do you have any suggestion I can only guess the problem is I need to understand what your error is so can you at least take a screen shot and send me a link of your photo or something online you can upload a photo of the screen and give me an idea of what the error is or maybe on that system you can join zoom if possible I can wait for you one thing I will do it I should do that is shall I show it in the video that works as well keep your video on mute and just yes you are able to say it sir either have to zoom in a little more for me to make to be able to understand what is there okay okay also could you give me any idea what's the number so it will be helpful to share the screen you don't need you don't need to send the image to me you can upload it to a image fine sharing how should I upload the image I will give you a link where you can upload an image and share the link just one second yes sir sir so I will send a website in the chat can you please take a screenshot upload the screenshot to that website and you will get a link you can share that link with me in the chat yes sir okay so for folks I have received a lot more work to continue rather than to continue so I will wait for Shivranjani to share her screen and in the meantime we will try to see if we can continue with the rest of the stuff so because we don't want anybody to fall behind folks who are already done with this part can keep the terminal can minimize their terminal and you can open up in you can go to the home tab okay I am not sharing my screen right one minute let me share my screen hopefully everyone can see my screen now from the navigator if you scroll down there should be the option to open the spider IDE because you are already familiar with the lessons that you got in the yaks pre-recorded session you can click on launch spider IDE is not you can't say that it is the best possible environment that is there but it is pretty beginner friendly and has everything that is required to work with python in one screen itself so we generally recommend that there is also VS code that is available in this environment itself if you want to go for VS code that is your completely your decision but I recommend that spider IDE is a good place to start it will take a few minutes to start please click on launch spider IDE and you should get this screen and you should be able to work with something right so please open the spider IDE and wait for my next instruction okay so Avinash asks that he already has Django pre-installed do you have to do any other procedure for Anaconda to detect it I do not believe so as long as you have Django installed and if you just plan to use it that is fine if you connect your pre-installed Django and the environment that you are already using with the Anaconda environment I am not sure of which is why I recommend that you follow along the instruction that you are already given if they are installed in Anaconda's base environment then you are fine it is okay what is there but if they are installed somewhere else hello sir yes sir I uploaded the image tell me what's the issue ma'am you will have to share the link with me otherwise that is not a website that I control for me to be able to see your image please can you share the link it will give you a link on the bottom yeah okay okay so for folks who already opened spider can you please let me know if spider is open and available cool so basically I asked you to open because this is the basic it has quite a few options so this is how your screen will look you have your editor on the left you have a viewer view panel on the right top right and you have the ipython console on the bottom right my ipython console is busted because there seems to be some issue with the Anaconda packages installed so that part is busted but otherwise this is how it usually looks you will have an ipython prompt here you also have a files tab on the top right panel click on it you will see that you will have you have the file browser open a window explorer or go anywhere else yes hello sir I will send the link in the chat box short just give me a minute okay sir Anjani the issue seems to be something to do with your internet connection so I noticed that you seem to be in a campus so one possibility is either your network is too slow which is why it has been downloaded in time and the connection broke so it is giving you a read timeout error basically the connection your internet connection broke is there in between and you can download it the other possibility is that your campus has some sort of a firewall or security measure because of which it does not allow your system to download certain files from the url where these packages are hosted usually that is not a problem that is common but sometimes some campuses do have some security measures in place unfortunately I do not know if that is the case I do not know how I can help you you can maybe try to ask someone around if there is some sort of system admin or a technical person around you can try to ask them the other work around that you can do temporarily is that you can switch to a mobile hotspot just for downloading the pip install command connect to the hotspot run the pip install command and then come back to your campus network and that could work probably sure sir thank you so much sir for folks asking if you can use ds code yes you can use ds code I do not have a problem spider id just comes with anaconda so it is just more convenient I will share my screen again just for right so you have your spider id open you have the file browser open as well and you will sort of realize why this becomes important a little later on now let's start by first I think Prasamesh can help me Prasamesh we have to now go to the desktop desktop folder to the terminal right so we have to use cd slash desktop if I am correct yes yes cd desktop simply cd desktop will do cd space desktop with a capital D so for folks what you are doing now is we are opening your terminal window I think you can see my screen we need to open our terminal windows I can't do the same command here because I am on an ubuntu system the command that I will tell you will be for windows specifically so please open your terminal make sure that you are in your terminal window and type in this command cd space capital D desktop right folks were still confused you are not supposed to do by anything by opening your spider I just opened it up so that you are familiar with the interface we will be using it a little later on so that we can navigate and edit files right now just move to your terminal window please type in cd space desktop and press enter I won't press enter in my case because it will not work for me but in your case it should work because you will not be able to see the full path of where you are located on your command prompt so it will show you something like c colon slash something slash desktop and you should be able to know that you are on the desktop the system cannot find the path specified in that case you are supposed to give your full desktop path DIR can help them list a file no but Arvind has a problem with the error saying that the system cannot find the path specified same for me sir actually I am under c colon user then kkim one folder so from there how to go to desktop correct hmm how can we go to desktop so can someone volunteer and share their screen please and we can sort of help everybody along somebody with the error somebody with the system cannot find path error can you please share your screen I will stop sharing mine just give me a minute and now somebody can share their screen okay Arvind has already shared his that's fine can you please maximize your terminal Arvind correct hmm can you please type in cd space desktop and let cd error again just to make sure that we are on same capital D cd space capital D tab will help them auto okay so that doesn't work correct can you do DIR and show us where you are yes press enter okay go to one drive one drive yeah there is one drive folder cd one drives yeah and then do cd desktop or maybe yeah one drive is a new thing I think yeah it works I think given by windows like the space okay simple thing we can do we can right click desktop copy the path and place it after seeing that works as well that was going to be my next suggestion so for folks for folks who this path may be different for different folks so the best that you can do is go right click properties right click on a desktop property copy paste it here but make sure that you type in cd first cd followed by the full path followed by desktop right so Arvind you need to wait everybody needs to just wait once they here please wait so that I can make sure that everybody is on the same page believe me it gets very very confusing if people are in different folders later on so I need to make sure that everybody is on desktop can everybody please confirm that they have been able to run the cd space path desktop command and everybody is on desktop how does it show up because it will show up on the in your command prompt it will show up on the right saying that you are in the desktop folder right so anybody facing any problem please pick up now it will be difficult to help you along later on believe me we have been through this workshop it gets very very confusing later on there are a lot of files folders that get created and it becomes very very confusing to navigate them there are a lot of permission issues that happen so you being on the desktop folder is important even though it may not seem like that for Abhiji Abhiji asks me to repeat it please go to your terminal window please right click on your desktop screen go to properties find out the path the full path of your desktop folder go back to your terminal type in cd paste your path of the desktop and press enter you should be able to reach your desktop folder in the terminal why are we doing this because we have to be in the desktop folder but inside your terminal your terminal should be pointing to the desktop folder right somebody is saying no Jayan said he or she couldn't find the right command execution Jayan can you please tell me what the issue is or share your screen or tell me the error or help me with something to help you anyone else having the same problem you are not able to reach your desktop in your terminal please speak up now we should be able to help you at this moment later on it gets difficult to sort of manage multiple issues or cases okay so no one seems to be giving me anything that I can figure out Abhiji still has a problem Abhiji can you share your screen and we can help you out in the meantime if anybody still has issues you can follow along you can see what Abhiji is sharing and how he is trying to figure it out but please let us know if there is an issue okay okay yeah right so can you do dir you should have can you please do dir and you have a folder called one drive as well so do cd paste one drive flash desktop your one drive seems to have a colon or something before it terminal can be fun okay let's see if it works and you are there cool done so hope can figure out what the path is by clicking on your desktop screen right clicking it clicking on properties and figuring out your own path this is the path that you walk alone I can't help you much there bad joke anyway anyone else who is facing a problem can you move on may guys sharing a screen for now I will try to see if I can I think she is already in the desktop she is trying to show how it works she has gone to her windows explorer she is right clicked on desktop I am in command prompt correct but since you do not know the path of your desktop you need to open your windows explorer right click on desktop click on copy as path and then go to your command prompt paste it there along with the cd command yeah yeah yeah thank you mega what else anyone else you can help yes sir I have a problem sir thank you sir please please tell me where you are it is showing path is not specified correct that is because we somehow got the path wrong so like I mentioned you can find out what the path of your desktop is by going to like mega shore you will have to open your windows explorer right click on the desktop on the left there will be a copy the path option click on that go back to your terminal type in cd space then paste the copied path and you should be where you want to be ok I guess this is a good time to move on with life right so now please understand that my my file path my file path will not be the same but the command that I run should be close by I let you know if there is something different but the command should be close by right so I am currently in a tmp folder which is the temporary folder my system sorry my mistake I will share my screen ok right so I have my command line open here which is my terminal it shows that I am in a tmp folder that is my folder please disregard any file path because my system is different than yours right but the commands are pretty much the same so I let you know if there is any difference in commands but otherwise the command should be pretty much the same right let see I I can also go to my desktop let's find it there is my desktop so let's let's I am on my desktop you are on yours so you are in the same terminal where you install Django and have your virtual environment active right your virtual environment is base mine is a different name ignore that now let's start off by creating a new folder so I think it is make there in windows also right you can use make there or you can create a new folder using your UI you can go to your you can go back to your desktop screen just right click and create a new folder I am creating a new folder from the command line and let's say Django underscore project right Django underscore project is the name of my directory you can name it the same thing it is more easier to troubleshoot issues I created a directory on my desktop you need not created via terminal you can go to your desktop screen right click create a new folder and call it Django underscore project can you please let me know if you have done this you now have a new folder now what you need to do is in your terminal you can go into that folder again now by saying Django underscore project and now you should be inside that particular folder right so we did this already you use cd to change your location we are going to do it again cd space Django underscore project and that should work for windows it is md directory I am not saying out the commands out loud because a lot of people get confused with the terminal environment right clicking on the desktop is simpler keeps everybody sane so I just mentioned the easier path I have been asked you should be using the terminal yes you need to open anaconda navigator as admin yes correct I think we have already been doing this right has everybody been able to create a Django underscore project folder and is everybody inside that folder on that terminal please say yes even more interesting would be if you say no because then I will know what the problem is sir still I am facing the problem okay I cannot find the path you cannot find the path have you created a folder in your desktop can you do that can you please do that can you go to your desktop screen right click create new folder call it Django underscore project make sure that the spelling is correct and create a folder there okay sir please let me know once you are done okay sir anyone else who is facing issues with this and navigating to that folder in your terminal yes sir I am creator sir okay now once the folder is created on your desktop just right click that and you should be able to see the properties or the copy the path option is there a property option is there a copy the path option copy as path is yes sir correct use that click on that and copy the path into your memory now go to your terminal hit CD paste paste the path that you have pasted how do you paste it I think right click and it gets automatically pasted or you click left click or right click something works please try yes sir it is working have you pressed enter does it work properly and can you see the full path on your right yes sir I can see I can see thank you sir thank you right so it looks like so it looks like everybody is now at a point where they have their own folder on their desktop and are also using it in their terminal now what we are going to do is we are going to run the python commands necessary to be able to create a jango project so what is a jango project a jango project is a construct that creates some certain default files and folders the jango in itself is a framework so when you say it is a framework what it does is it gives you some sort of structure you are supposed to follow certain rules and the certain structure and you will then be able to create an application within that structure why because as a framework it is jango's job to do the repetitive work for you and you do not have to worry yourself about the default repetitive work the files to be created etc you just have to worry about what business logic and code that you are going to write for your application so the jango project is a generic file folder structure that is created and we will see what files are available inside it but it is a generic default file folder structure that is created by jango itself and it is done like it is automatically done for you you run certain commands and then you are going to add certain custom code to it to create your own application so project is a container that contains all your code in one place any new web application that you build with jango will be one single project so anytime you are starting a new jango web application you are going to be starting a new jango project and how will you do it you will run it by running the python paste jango is it jango admin jango admin start project i always get confused with this part no need of python is it jango admin paste start project paste your project name so i am so sorry i will say my screen and also give you pointers to what kind of project that you are following just give me a minute i am already sharing my screen is it not visible no sir it is not let me open and show you and give you an idea of what kind of project we will be doing so the project is available here i will share the link in the text but just give me a minute so for you to be able to follow along we are actually going to be building a library management application a web application that is sort of used for managing a library or collection of books who the books are being issued to etc so we have already created the structure of the working project and it is available on this link this is a github link you can click on the download option you can click on the code option and then click on download zip to get all of the code in one go what i recommend is you do not do that now you can do it after the workshop after 2 days of the workshop just to have a look at how the full application looks like and what kind of code how we write on the code do not do it now i am just giving you access to the link so that you are aware of that this link exists so we will be following this this naming convention and this folder structure since we are building a library management app we will be calling the project library underscore managing yeah we will be calling it library underscore management okay so when we are starting the project what will it be called it will be called library underscore management right so the command is jango-admin start project space library underscore management now i will run this command at this moment just to show you what it looks like but i will also paste the command in zoom please do not make spelling mistakes i am not going to entertain anyone who comes to me saying that the command does not work and then he shows me a he or she shows me a command spelling right that is the least that you can do is check whether your command is correct or not so i have cleared the screen my command is jango-admin space start project space the name of the project the name can be anything in our case please stick with the name that we are using which is library underscore management i press enter and it does a couple of things i will tell you what it does so it is created a folder called library underscore management what you can do is you can use windows explorer to explore what the folder structure is like please do not follow these commands that i am using the commands that i am using at the moment right now the jango-admin command is correct the command that i am using right now is not available to you it is called the tree command which is only available in nuk i am just showing it to you so that you can see what the folder structure looks like hello sir shall i say something yes sir please these commands are not executing at my end okay i created this jango project but when i try to create this library management project i mean at this folder it is not creating the way you had written at your end understood so i think there should be something that a quite a few folks will face so we will come back and sort of figure it out for all of you give me a minute so what it does is this command basically just sets up a very simple project this project will contain multiple directories and some certain files you have the library management folder which is created on at the top level another folder which is created inside with the same name folder it is fine it is legal to have folders with the same name inside each other so the outer folder is basically the parent folder but we will always be inside this parent folder from now on because that is where the manage.py file will be located right so whenever i tell you that you need to be in the folder where manage.py file is located you need to be inside the library management app and you will be able to see that the manage.py file is there right you then have another library management folder which contains multiple files there is azgi.py which is an internal file which is a server application this comes in handy when you are deploying the application on a server you have the dunder in it dunder.py file which is the initialization module for any that is being used so this basically if this file is present that means that the current folder is a python module you have the settings.py file the settings.py file gives you all the configuration and the settings that you need for your web application i will show you the file in more detail later on you have the url.py file and that is the url that will be used to access your web application so flash home flash dashboard flash books etc and there is another visgi.py file which also is something that you need not be concerned about it is also a server configuration file so that is something that you do not need to worry about we will not be making any changes to azgi and visgi right manage.py file is a file that you will be using often from now on it is a command line helper multiple commands associated with it and you will be using those multiple commands to work with your jango application right now i am sure that a lot of you will have similar problems like dr. pulkarni so we will first go with dr. pulkarni and try to see what the problem is can you stop sharing my screen dr. can you please share yours shall i share my screen yes sir just a minute sir in the meantime can people tell me in the chat whether they were able to run the jango-admin command yeah i have shared sir yeah yeah just look at my screen correct can you please maximum thank you yeah i will do the same thing yeah this one no just one second can you please type in dir and just show me what the output is yeah it is a blank model so nothing will be there exactly just making sure sir sorry okay can you run the command again jango-admin is not active now alright virtual environment is active virtual environment is not active actually i think so we need to make sure that your virtual environment is active you are able to install jango and everything before this yeah i did it successfully can you close this one i need to close this one this terminal window just close it yeah i am closing yeah where are you you are supposed to be using this terminal because this is where your environment is active the base that you see in brackets that is your virtual environment that contains your that contains your jango installation so the jango commands will always only be active there you have to move to your jango project first so i need to include that django project folder here in this terminal yes correct okay just a minute sir yeah i have done that now what i need to do right now what you need to do is you have to run the command that you are running so jango iphone admin jango iphone admin space start project with no spaces start project yes space library underscore management library underscore management yeah it should work right so if you want to see the contents of what were created you can open it in your desktop and see it at your convenience the tree command etc will not work for you no need to try those avinaskaran asks that we are creating the jango project and we still have to be in base yes the base is a virtual environment that is active in parallel you need to be in a terminal that shows you the base on your extreme left if that is not showing up then you are in a new terminal which means that your jango installation will not work right i think this should solve atleast a couple of other problems that folks were having but otherwise in case somebody is not being able to sir i am not able to do it and i share my screen yes yeah i am stopping yeah sir i have one doubt sir i have one doubt correct because normally we have created in the command prompt these folders i mean generally whenever we create any folder by default these files should not be part of this library management folder these files i mean where from these files came i mean that thing is not clear so the files were created because you ran that start project the start project command is responsible for creating those files when you say you want to start a project every project needs these many minimum files by default otherwise the application won't work as usual so whenever we execute this command whichever folder will be created that will have these files always yes at the minimum these will always be there because they are always required and they always need to be configured so so because you should not be spending time creating those it's an automated process to help you just worry about your own important stuff right sir i have shared my screen that zango admin start project library management right and just give me a minute i am just noting down the commands that i am typing because everybody in 10 minutes time is going to ask me for all the commands in one go right so you get something called ls that is not there after running zango admin you got a blank prompt instead in your case what you can do is you can go to desktop and view the folders by using windows explorer if you want to your hell bent on using the terminal you can use a command called dir so instead of ls you can use dir zango project is the folder right now you have library management you have multiple files inside it you have manage.py right vishnu has pointed out that he faced an error where it says that the library management folder already exists but the files are not created vishnu can you please go to your desktop open the zango project folder and make sure that it is not created you can use your windows explorer and check the terminal always the terminal can be a confusing and daunting place then in that case I will call you out on it can you please share your screen with me and we can try to help you if it is possible for you to share your screen anyone else facing similar issues again like I said before please understand that these steps are important very essential any mix up in these steps at this point in time is going to cause larger problems later on so you might as well get it sorted out now okay can you do a dir where you are in your terminal right now okay can you close your windows explorer right you have you have a folder on your desktop can you see behind your terminal which you are very nicely hiding behind your terminal can you open that okay this folder is empty but that folder is empty okay let's see can you type okay so can you tell me because I can't see clearly you will have to help me can you tell me if the folder name in your terminal is the folder name that you can see in front of you is it jango underscore project or is it jango space project the one in your terminal is that underscore or space right I can see it better now thank you so it's jango underscore project see user rishnu desktop jango underscore project okay can you do pwd type in pwd I think it works here enter is not a recognition okay yeah deleting and making another project folder is also works but you have to make sure that you are doing it right it is very likely that the folder that you are opening in explorer and the one you have here is two different teams so I don't know why that happens but it's happening can you open your windows explorer just your windows explorer open your windows explorer click on desktop on your left okay there seems to be only okay can you can you close this windows explorer and open it again and try to see if you can run your windows explorer as administrator is there a run as administrator option it won't show up here running again won't help because you already have the file it's not a mistake with your command it's something to do with either the fact that these files are not visible to you in your windows explorer because you don't have the right permissions to see them you can do one of the two things you can follow what Smith has suggested and delete this folder create a new one and follow the steps again or what you can do is you can show me the you can show me the start start menu find windows explorer inside your start menu right click run as administrator and then try to see again sometimes what happens is you as a regular user are not able to see certain files and folders and because now you're creating these as an administrator it is invisible to the normal user right your terminal is an administrator but you are a normal user anyway anyone else facing similar problems cool ok so we are good to go on to the next step now what we have is what we have is if you hit dir you'll see that there's a library management folder right and I already showed you that it contains the manage.py right so once again we'll do cd space library management and press enter right in my case cd won't work it'll work it'll work for you it won't work for me so I will use no it'll work for both right my mistake so as far as screen space yes so basically you don't need the screen for this I'll say my screen but you can use the cd command space library underscore management and it should be inside the library management folder by now ok pretty straight forward I think everybody should be able to do it by now right so we'll move to the spider environment of the spider ui right so the reason I told you to open the tab here is that now you can basically conveniently navigate through all the files available to you using the file navigator here so you click on desktop you click on Django project you click on library management you click on library management again you should be able to see all the files here available etc so again just to clarify asgi and visgi are server setting files url is a file containing all the url settings is a file now you can actually look at settings so if you click on settings.py or double click on it it should open settings.py for you in the window on the left and you should be able to see a lot of stuff in python code listed there please do not change anything just to show you that this is a file that contains all the important settings for your Django application it contains for example whether this is a the secret key for your application it contains the installed default installed apps for Django it contains certain software called middleware etc etc so you can you will be able to see what the files contain please do not change anything if you change anything things will break and they will break in sir I lost the connection can you please tell everyone how to open settings.py if you open the spider IDE you should have something called the files tab on your right top right if you click on the files tab you will find something that is similar to your windows explorer so you should be able to see desktop you should be able to see Django project and click on it you will be able to see library management click on it twice and it should be inside and you can double click on settings.py to see what the files contain just to see nothing more right ok so you can now see the files in your spider IDE so you can quickly move between files here in your spider UI but to run your commands you can use your terminal environment right so what is our next step our next step is now to create something called Django app now what is a Django app you already know what a Django project is Django project is basically an overall container that contains your whole web application in one case right but a lot of times you have sub modules within your project and Django is built in a way such that it is built on a principle called DRY dry dry stands for do not repeat yourself what that means is it tries to give you a framework or a structure to build reusable modules, reusable pieces of code so that you don't have to constantly keep repeating the same code in multiple projects right what you can do is once you create a project you can subdivide your whole web application into smaller pieces so let's say you are building an e-commerce app or a library management app whatever you can divide it into sub modules in your e-commerce app you can have a sub module called shopping cart you can have a sub module called billing you can have a sub module called user profiles or user permissions etc and each of these sub modules can be created as a self-contained Django app an app is basically a reusable piece of sub module of your larger Django project that is the only thing that you need to know every Django project will have to have at least one Django app because your Django app will contain all the code that you are going to put inside to control your application so we will not over complicate things we will not have multiple sub modules for our library management app because we want to keep it simple and teach you the basics we will keep only one single app let's see what our app is called like I said I want to keep the naming convention consistent so I will refer to my older application and the app is called library manager the project is called library management your app is called library manager create a Django app you now type in a command called python to run a python script you follow it by manage.py space start app space your app name your app name is library underscore manager and press enter it should do certain things and I will tell you what they are but just run this command in zoom and please wait do not change anything do not do anything different I paste in the command which is python space manage.py space start app space library manager is the name of our app it could be any other app name please run this only once do not run this again and again it will cause a lot of confusion only once run it wait don't do anything else run this command wait and obviously just let me know if it has worked for you or not how do you know it worked for you it did not give you any error then it worked for you okay some folks have already mentioned that it works it says no such file or directory nice so it says no such file or directory it means that you are in the wrong place you are either not inside library management please go to library management so I told you remember we have to we have to go to library management using cd command then you have to run python manage.py command so first cd library management then python manage.py command cd library management can I share my screen once just to get confused so let me stop sharing mine you can say yours now if you want to right so you are in Django project so what you will have to do is you will have to first use cd space library management go inside the library management app sorry you have to go inside the library management folder and then run this command which is the command the command is python manage.py start app library management I have pasted the command in the chat I will repeat the command again one second I have typed out the commands in the chat basically you need to go to the right folder and then run the python manage.py command so I will start sharing my screen again I will repeat whenever I say that the command contains python manage.py please remember that you need to be in the folder called library management in your Django project folder right because that is where your that is where your manage.py file is located correct otherwise if you are in an incorrect folder your command will not work as expected right now let's see what the what folders have been created so if you check windows explorer or if you check your spider files browser you will see that there is a new folder called library manager right so when was this created this was created because we ran that particular command and this is the app folder what does the app folder contain it again contains multiple files that have automatically been created and I will tell you what they are there is an admin.py file so the admin file corresponds to an admin dashboard interface that you get from Django I will show you what that is later on but just remember there is a default admin dashboard interface that you get with Django and if you want to customize that interface you need to be able to edit and change this admin.py file there is an app.py file which is a configuration file you don't need to worry about it there is a dunder in it dunder.py file which is basically again like I mentioned it makes sure that Python recognizes this folder as a module folder then there is a directory called migrations which again contains the dunder in it file the migrations folder basically will contain something called database migrations database migrations happen when you are making any changes to your database of your web application we will study this in a lot more detail later on but just remember once you have made some changes to your web application database the changes need to be recorded somewhere so that the database is aware of what changes have happened those changes are recorded in a migration file and all migration files are stored in the migration folder there is a model.py file so when you are building a web application with Django you are obviously going to have a backend database to store your information of your web application the structure or the design of your database will be defined inside this model.py file it represents your database there is a test.py file so any python program any python module any python program it is always recommended that you write out tests what are tests tests are basically scripts that you write to be able to make sure that your web application or your code is running correctly if the test runs successfully that means your web application is running correctly and it runs successfully there is no issue in that particular module or code we will not be doing it for now because due to the time constant it is not possible to teach you exactly the science behind writing a test case but the test scripts are located in the test.py the views.py file is basically it is the file that contains all your business logic so all the all the code that will be run when your application is run in the browser that business logic will go inside views.py file so these files are automatically created if you look at your spider spider UI you will see that the library manager is available here if you scroll through the files again please do not change anything anything changed it could lead to disastrous results if you just open it and see there will be certain code written there but most probably it will be completely blank there will be pieces of code here and there but otherwise it will be blank so this is what you can do so what we have done till now is we have created a project and we have created an app now we want to be able to set it up so that it runs properly so what we will do is first of all I will switch back to my everything and ask if everybody was able to follow along till now have all the commands run properly were you able to see that the files were created and were you able to follow along hello sir I cannot see the files sir how to see how to see is you can open the folder that you have in your windows explorer and you will see that the files were created if you want to see the contents of the files you can open your spider UI I have opened and you will have the files tab on your top right in the files tab on your top right you should be able to open your file path and be able to open the particular file hello sir yes go ahead sir while running the python manage.py startapp library manager command I ran the command but it shows a command error that library manager name conflicts with an existing python module and it cannot be used as an app name okay can you please make sure that library manager is not already created in your directory no sir it's not okay I think this is something that I need to keep in mind so the library manager now will become pretty common name can you please just for your sake for this I will try to make sure that you know I keep in mind that you are the person with this particular chain you can change the name to library manager too one two something whichever makes sense sir inside that library management directory same command exactly same command does the name library underscore manager add a one at the end add two at the end add a digit one, digit two and differentiate it from your default library that you have right and it should work please let me know once it works Avinash can you please say your screen okay couldn't import Django cool let's see how did you run everything up till now and now you get this problem not found correct so can you tell me how did you manage to create the library management folder then I am genuinely curious not a sarcastic question because you already seem to have your library management folder right does it contain all the files can you do dir correct can you go inside that so you already created no don't go anywhere sorry don't go anywhere I am very sorry you already created your first command how did you run that did you run it in a separate shell or something of that sort this is weird no sir okay tell me sir oh don't start anything with any name boss please don't start the start up thing with a different name unnecessarily you have to delete folders etc it will be painful can you can you close this and reopen your terminal and we will try to work through right open terminal okay wait for it nice now can you please navigate to the folder that is desktop Django project library management you can do it all in one go anyone else facing any weird issues like this or some other issue which you not yet discussed maybe hello sir yes sir you told me to change the name of the folder I changed it but it is now showing the module not found error okay so we will come back to you give me a minute okay now can you go to your Django project folder no so you have some other name right Django workshop is that the name go inside library management dir and can you now try the same command python manage dot py start up library underscore manager okay so what we will do it we will go with the simplest possible solution just run pip install Django and we will end with it this should possibly work I will ask can you please let it install and we can come back to you later I need to make sure that the person who was speaking with me right yes can you share your screen now please and we try to see what is going on again sir I have officially installed downloaded the source code again this is my library management folder and inside it I have these folders now I will open my terminal so you downloaded it from the code base that I gave you right yes sir so don't do that as in I need you to be able to work through the command because that is the code that is available there is just for your reference you will have to run the three command codes that I gave you right so you will have to first run Django admin then go inside the library management app sorry library manager folder and then after that you run the start up command so delete this folder or keep it aside or keep it move it somewhere else create a folder called Django underscore project on your desktop then start running this command inside that particular folder sir wait a minute after creating a new folder Django project inside that what I have to do I have typed in the commands in the chat so first is Django admin command yes sir there is a cd space library management command python manage.py command all of those three in one after the other you can just run them and you should be at the point where everybody is at right now cool Avinash is your problem sorted out okay cool no problem anybody else still facing problems I posted a quick review of the three that I used one is the start project one is the moving side of the folder and the third is the start up command these basically have now allowed you to set up a very basic simple Django application right now what we need to do is we need to run a few more commands to make sure that we can so this is this these two commands that we ran now start up and start project have set up the file folder structure for you but going forward you also need to set up things like the database a little bit of the back end etc so that we can actually run a sample the sample web application in your browser right so what we will do first is we will go back to our terminal and I will share my screen right so exactly in the location where you are which is which is inside the folder where manage.py is located you will now run the first command which is to set up your database for the basic the application right so what happens is Django in itself has some default apps contain inside it as a library which are used by Django itself for basic functions like for example the interface that I talked about is a separate Django default app which is available you have apps like session management etc and these are run by default apart from that we will also have to set up the database so to be able to do that we will have to do we will have to run the make migration command right so I will type it out first and then you can tell me what happens so python space manage.py so like I said manage.py is a very important file because it contains a lot of helper commands and we will be using these mostly so this is the second helper command that I have told you first one will start up, second one is this make migration migration ok make migration no changes detected that means there are no database changes to be recorded let's run the manage.py migrate command right so first one make migration which shows you no changes detected that means there are no database changes that have happened but we still have to create a database so in order to create a database we will run the migrate command that is python manage.py and it will give you a lot of text it will give you a lot of output and at the end everything should say ok ok ok and we will have the course of linking back again what this has done is this has created a new file called db.esculide3 if everything works well for you everything should show ok and you should have this file displaying when you hit dir or if you see in your windows explorer right so this is what sets up your database db.esculide3 is a database file it is like the extension mentioned it is using the esculide3 database engine so you have multiple engines that you are aware of there could be oracle db there could be maria db there could be mysql mongo db these are all sql or no sql engines we are using the esculide3 engine which is a file based database it basically gives you one file which stores all your data as a parsable sql database in one file and it is created within the same folder right it will contain all the tables all the columns all the data that you will create from now on and it should be available to you in this file you don't have to deal with the file itself you can ignore it completely but just to let you know that all of the database is contained within this file so once created please do not delete or touch this file in any way it is a binary sql file so it is going to be it is specific to the database it is not good to touch or mess around it so what has it done this is created a database it has created all the default tables and columns that Django itself needs to store certain things like the user information etc you can see a lot of the output gives you an idea of what kind of columns are created just for your sake and now what you will do is the third command that you will run is pythonmanage.py run so I will paste the command you don't need to make migrations because it will not give you any migrations any way I will give you the migrate command in chat you can run that and let me know if it works fine too and it should run it should hopefully give you a correct command if migrate is done then we can go on to the next command scenery I will come back to you if you have any issues I will just get done with one part so that we can sort of come back and revisit problems but for now people who are done with the migrate command pretty simple nothing to do you just run it and it sets up your db for you all automatic all magic the next command is pythonmanage.py run server you press enter and you wait for it it will give you some output it will say system check identified today's date and time it will tell you that there is a development server that is started on this URL it will tell you quit server with control c so you can quit it anytime and it will just wait nothing more will be displayed on the screen this is correct this is expected don't panic this is what will happen so your terminal is now locked up because your server is now running in that terminal alright what you can do is you can copy this URL that you have here 0.0.0.1 8000 and you can paste it in your browser whichever browser that you are using and it should open up your sample Django web page which looks like this it just gives you a sample web application page which is a default page that shows up once a default installation is done it tells you that the install has worked properly and that your Django is ready for development so the command looks like this it is python-manager.py run server where are we once you run this your terminal will be locked up because your server is already running you have to you have to quit your server if you want control back and if you want to type things again don't do anything just run this command copy paste this URL in the browser and we will be back with you because I am sure that there will be some of the other issues that we can help you with right I will stop sharing for now can you please share your screen and let me know what is going on okay yeah so the problem is you are already one folder inside you have to go up so hit cd space double dot double full stop now run the same command what are you going to do you have to do a migrate command now right manage.ci paste migrate so now you have if you hit dir you should be able to see that there is a limit and explain it now you will run the run server command you can copy that link 127.0.0.1 the full link sttp so on and so forth in your browser or you can type it out if you can't paste it I don't know and you should be able to see something on your browser folks who are able to see something great folks who can't see something in your browser please let me know sometimes some you are as go funky so anyone cool so a lot of people are already getting it I would be more interested in someone who is not getting it so that I can help them can you please let me know if someone is not getting it right what I will do is I will paste all the commands in one place in the chat or in a link and share the link with you I am still around in case anyone has not got it or if it is not working I am just pasting all the commands in one place where I can paste it in chat there is your list of commands right so the other important thing is also how to one is launching the server the other is also getting out of it so you can use control C or control Z something that works for Windows may not work for Linux and the other way around so for me control C works can someone please try control C or control G and tell me if it works you should be able to exit your exit your server right once you exit your server your browser will also your browser website will also not work right so just letting you know this is how it works you need your server running if you want to see something in your browser can someone please exit your server and tell me which key combination works so that someone else can also use the same key combination in terminal I have typed control Z it came back to the prompt again cool so control Z works for Windows fine thank you right so Shivranjani stuck at a point where the environment command does not work first of all just a note of caution please don't run these commands again because then it will again mess up your folder structure so please don't do that there will be multiple nested folders and it will be a mess but just otherwise Shivranjani can you please share your screen and I can help you along you are not in the correct terminal you need to be in a terminal that shows you base in brackets on the left hand side the terminal that you open using anacondas if you are using Django-admin with capital D capital D will also not work in your small disks hi Ankit I just now I just now installed the django and it successfully installed and once I installed that I created the folder django project in desktop then after that I will give django django admin start project library management and again it shows django admin is not recognized as an internal or external command so once I created the the d is not targeted in the command should be small be small yeah I used small letters one d okay my doubt is once I created the django project folder if I paste anything in that folder should not be pasting so it should be only an empty folder yes okay but I will get django admin is not recognized as an internal or external command correct can you see base in brackets on the left hand side in your command line terminal command line terminal base yeah yeah is it visible yes Ankit in my prompt base is visible correct can you please run again I will give the command and I need to run no one second please run show django I have typed the command in the chat yeah yes please I have already typed the command in chat let go step by step first can you run the command can you see the command in chat okay so for other folks this is about the end of the line session in general we have already set up the python django installation we also set it up to be able to accept any new code and run it later on so tomorrow most probably we will be looking at adding our own code and running that so that you can see the changes in our website um so we don't have any more live session as such there is nothing new that I am going to tell beyond this point so in case you want to go back and follow the schedule to complete the rest of the modules we have the functions module that is available on juxt and we have the modules module available on juxt which we have to complete before 5 o'clock or 5 30 today so you folks can go ahead and visit those modules on the juxt platform if if you are done with those steps for today thank you sir one more doubt now we have come out of the server that page whatever app we have developed right if we want to reenter then what are the steps again I should do then you have to just don't have to run all the commands again you have to just go to the right folder containing manage.py library management correct correct in your command line right and then run python manage.py run server the last command that I gave you that one only should be ok python manage.py run server yes sir yes sir sir I cannot exit from the terminal sir can I can I share one screen you don't need to share the screen you can close your terminal if you want to you can type in ctrl c or you can use ctrl z if nothing works just close your terminal and move on with the rest of the modules ok sir thank you so Sivranjani did the command work or did it not work or yeah Ankit just a minute just a minute Ankit I will send the link which I got that ok just a minute what you kindly have a look on it yeah ok this is the thing we got correct so at least in the screenshot I can see that you are using capital d so you also tried a small d ok you so I seen the screenshot that you did pip you did something called pip list did you do before that command where you got a large list of all the packages on top ok I will use the pip list correct so in the pip list can you one second one second just hold on in the pip list can you see can you scroll up and see if there is Django can you see Django in the list at d PDD Django project no no in the pip list command output ok yeah I have the Django yes Ankit I have ok one second this doesn't work Django admin doesn't work right can you do you have anaconda installed yeah yeah I already installed can you can you close anaconda open it open it by using run as administrator option ok have you already done that or yeah I already done that can you please try again close the terminal close anaconda reopen anaconda using run as administrator option ok then again I should open the anaconda navigator then again from the beginning I have to repeat it right and open the terminal ok yeah ok Ankit I will try yeah Ankit again I will try but I am getting the same thing Ankit Django admin yes it makes pass internal or external command right ok one second can you try so Django is installed for sure right yeah yeah can you run I will type out a command in which app can you please run that one second Ankit one second what did you say Django is installed is Django installed Ankit PIP install UD Django yeah yeah that is the thing you said right yeah please run that command again run it yeah Ankit I will share the link again I picked the photo fine did you run the command yeah yeah it shows again command did it successfully install again requirement already satisfied right can you try that command again I don't think it will work but can you please try again PIP install that is the command you said right no Django admin Django admin library management right with command Ankit could you please original command that is not working can you try that again Django admin space okay space start project space start project space a library underscore management is it right that is correct yes yeah okay again I will get the same thing Ankit please Django admin is not recognized okay can you try I will type out a command in chat okay Ankit Ankit could you please open that link yeah I will send that image in the chat so once I give the command again the same thing I will get okay Ankit could you please open that image I will sign the chat message yeah no so this work the last command work correctly so now if you check there will be a folder called library management now should I give that Django admin start project library management is am I right Ankit wait a minute that command that you ran at the last last command that you ran work properly okay okay okay so now that part is done the command that I gave you was an alternative command to the original command right so for you okay instead of Django admin this command is working now you can you can run the other commands and paste the other commands in the chat you can run those steps okay Ankit each command on new line is a separate command please don't run everything together cd library management is a one command right Ankit after giving the cd library management yeah then I gave pythonmanaged.py then start app library manager correct after the pythonmanaged.py correct then what is that migrate Ankit so you did start app library manager correct yeah then you need to run pythonmanaged you need to run pythonmanaged.py migrate which is it creates a database then you need to run pythonmanaged.py run server which will run the server okay Ankit finally I got put the server with control rate something I gave pythonmanaged.py run server then I get the message put the server with control rate like that correct so now go to your browser and open that link that I gave last link okay I will show a rocket kind of an image that is a default image that means your Django installation work properly we are done for the day okay thank you thank you so much Ankit no problem thank you so much have a good one okay again the session tomorrow tomorrow tomorrow starts at 9 okay same like today it will start off with pre-recorded sessions tomorrow and we will have live sessions at 11 o'clock okay Ankit thank you thank you so much have a nice day Megha can you please share your screen and we can try to find out what is going on the command should be pythonmanaged or task pre-managed I understood I am sorry I am sorry if the command was not clear okay if you can refer to chat it is pythonmanaged.py space start app space library manager okay there is space in between