Ready to go python development workspace
Before you begin, make sure you have the following:
- Docker installed on your system.
- Visual Studio Code installed.
- Clone repository
git clone https://github.com/gadc1996/python-workspace.git
- Copy env file
cp .env.example .env
- Update workspace name in
.devcontainer/devcontainer.json
Follow these steps to install Dev Containers:
-
Open Visual Studio Code.
-
Install the Visual Studio Code Remote - Containers extension from the VS Code extensions store.
-
Restart Visual Studio Code if prompted.
To use Dev Containers with your project:
-
Open your project in Visual Studio Code.
-
Select 'Reopen in container' from the dialog that appears if the project is already configured with Dev Containers.
Alternatively, you can open the command palette (Ctrl + Shift + P) and select "Dev Containers: Rebuild and Reopen in Container."
-
Once the Dev Container configuration is complete, an instance of VS Code will be generated with all the necessary tools for your project. You can confirm this because the title bar will display "Dev Container" followed by the name of your project.
Enjoy the flexibility and consistency that Dev Containers offer for your software development!