https://github.com/mjunaidca/cnai_python_starter_template
https://github.com/mjunaidca/cnai_python_starter_template
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mjunaidca/cnai_python_starter_template
- Owner: mjunaidca
- Created: 2024-07-28T10:46:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-05T10:19:54.000Z (almost 2 years ago)
- Last Synced: 2025-02-13T20:19:25.503Z (over 1 year ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Template Setup Guide
Use this template to learn python and complete [practice projects](https://github.com/panaversity/learn-cloud-native-modern-python/tree/main/09_python_crash_course/projects) in Cloud Native Style Development Environment.
### PreRequisite:
1. Installed Docker
2. Add DevContianer Extension to VS Code
3. Knows the purpose of `docker compose up --build -d` and `docker compose down` commands
## Setup
1. Clone the repp and open folder `cnai_python_starter_template` or it's code in VS code
2. Ensure that in VS code terminal if you type `dir` or `ls` the output is:
```bash
mjs@Muhammads-MacBook-Pro-3 cnai_python_starter_template % ls
Dockerfile compose.yml main.py
```
3. Start Template
In Terminal run `docker compose up --build -d`
4. Open the Container in VSCode - now using the DevContainer Remote Explorer open the Container in VS Code
5. Do all your coding challenges - make python files and run them in vs code.
6. After practice close dev container and in terminal run `docker compose down`