Development Environment#
Below is the workflow we will be using to create new development environments.
Workflows
Development environments are as unique as each developer. You will develop your own workflows are your programming experience grows. But for now, follow these steps to ensure that your development environment is set up correctly.
Creating the development environment#
Create repository in GitHub Desktop#
The first step in creating your development environment is creating the GitHub repo for your project.
Open GitHub Desktop
Choose File → New repository
Fill in the Create a new repository dialogue box
Add an appropriate name
Choose the location on you computer to save the repo
Check the Initialize this repository with a README
Choose Python as the Git Ignore configuration
Click Create repository
Click Publish repository
Click Publish repository
Click Open in Visual Studio Code
Create virtual environment in VS Code#
Open command panel
Windows →
ctrl
+shift
+P
macOS →
cmd
+shift
+P
Type
Python
then select Python: Create Environment…
Click the Venv option
Choose the newest version of Python
Wait for environment to be created