7/28/2023 0 Comments Django version pythonIt will open a new window with a dark blue background and a blinking cursor after the > prompt. To access it, locate the taskbar next to the Windows button on the bottom of the screen and type in “PowerShell” to launch the app. The built-in terminal and shell on Windows are both called PowerShell. It is easy to be confused by these terms initially, but they all essentially mean the same thing: the command line is where we run and execute text-only commands on our computer. The prompt is where commands are typed and run. Technically speaking, the terminal is the program that opens up a new window to access the command line, a console is a text-based application, and the shell is the program that runs commands on the underlying operating system. In everyday usage, multiple terms are used to refer to the command line: Command Line Interface (CLI), console, terminal, shell, or prompt. Do not blindly copy and paste commands you find online blindly rely only on trusted resources. There is often no feedback after a command has run, and it is possible to wipe the contents of an entire computer with a single command if you’re not careful: no warning will pop up! As a result, use the command line with caution. Given its minimal user interface–just a blank screen and a blinking cursor–the command line is intimidating to newcomers. With practice, most developers find that the command line is a faster and more powerful way to navigate and control a computer. Still, for software developers, it is a vital and regularly-used tool necessary to execute programs, install software, use Git for version control, and connect to servers in the cloud. Regular computer users will never need to use the command line. It is an alternative to the mouse or finger-based graphical user interface familiar to most computer users. If you have ever seen a television show or movie where a hacker is furiously typing into a black window: that’s the command line. The command line is a text-only interface that harkens back to the original days of computing. By the end of this chapter, you will have created your first Django project from scratch and be able to create and modify new Django projects with just a few keystrokes. As a final step, we will explore using Git for version control and working with a text editor. Next, we will install the latest version of Python, learn how to create dedicated virtual environments, and install Django. You are probably eager to dive right in, but setting up your computer now is a one-time pain that will pay dividends.īefore installing Django, we must look at the Command Line, a powerful text-only interface developers use extensively. This chapter focuses on configuring your Windows or macOS computer to work on Django projects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |