You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is recommended to install Django in a virtual environment. Virtual environments are used to isolate the needs of one application from another, orfrom cluttering the OS. You can run the command below in your terminal:
59
59
@@ -81,7 +81,7 @@ Now, we are ready to install Django. Let us run this command in our active virtu
You can see that when we run the `django-admin` command we get a list of sub-commands. The one we are most interested in at the moment is the `startproject` command. It creates a complete project for us, with the proper structure and all the files we will need to get started. Let us use it below:
124
124
@@ -169,11 +169,11 @@ We can visualize the project' structure using VS Code's file explorer. First, le
169
169
(venv)blog_app $ code .
170
170
```
171
171
172
-

172
+

173
173
174
174
You will see the full project structure such as the one below.
We do not have to worry about the warnings in the terminal at this point, because we have not finished setting up the application. What we are interested in at the moment is the localhost URL. It is currently running on port 8000. Paste the link in a new tab on your favourite browser to see the application.
0 commit comments