Time to start setting up your development environment! The IDE you’ll see used in this course is PyCharm. This IDE has some advantages because it will perform some tasks for you automatically. For example, it creates a virtual environment when you start a new project. In this course, you’ll still see how to set one up by hand.
First head over to your terminal and make a new folder called
django-portfolio by using the
mkdir command. Then, move into the folder called
django-portfolio and create a virtual environment with
venv. You’ll use the command
python 3 -m venv .env, where
.env is the name of your virtual environment.
Before you can install any packages in there, you still need to activate the virtual environment. Run the command
source .env/bin/activate. Your prompt will change, and you’ll be inside a virtual environment, so any changes you make will be limited to this environment. Then you can install
Pygator on Oct. 12, 2019
Do you know how to set the interpreter like that for VS code? I recently tried this IDE out and like the bundled terminal with it, but i also got into Sublime awhile back after Dan mentioned it’s awesomeness.