As a developer I've always found setting up local development environments extremely time consuming and quite frankly a hassle. This was always the case until Docker & Python/Flask came along!
In this video I explain why docker is so powerful and WHY you should use docker for all your local development requirement. In Addition, this video also explains how to create a local docker workspace or container and how to mange your entire docker environment.
On top of that, I also explain how to create a Public or Private Github repository in detail.
With that said, I also showcase how to create a local python & Flask app that runs your static HTML site.
What You Will Learn In This Video:
👉 Why Use Docker?: Discover the unmatched efficiency and ease Docker brings to local development setups.
👉 Step-by-Step Guide: I'll walk you through how to create a local Docker workspace, tailored for both beginners and experienced developers.
👉 Management Made Simple: Learn practical tips for managing and optimizing your Docker environment.
👉 Real-World Applications: See how Docker can be applied in actual development scenarios, making your workflow smoother and more efficient.
BONUS CONTENT:
🎥 Check Out Full Development Video - [ Ссылка ]
🎥 Check Out Full Design Video - [ Ссылка ]
Timestamp:
00:00:00 Intro, Why Use Docker For Local Dev
00:02:29 Base Setup & Download Guide
00:05:25 How To Create & Manage Github Repos'
00:08:40 Cloning Github Repo To VS Code
00:11:27 Create Local Python & Flask Environment
00:16:22 Setup Src & Dist Folder Structure
00:18:03 Dockerfile Creation, Config & Run
00:21:04 Python & Flask Hosting Config
00:24:17 Map & Sync Docker With Local Repository
Command Lines For This Video:
1️⃣ Check Python Version: python -V
2️⃣ Check NodeJs Version: npm -v: C
3️⃣ Build Docker Container: docker build -t yogafitness .
4️⃣ Run Docker Container & Image: docker run -p 5000:5000 yogafitness
5️⃣ Prune All Dangling Docker Images: docker image prune
6️⃣ Run & Map Docker Container With Repo (Windows): docker run -p 5000:5000 -v ${PWD}/src:/app/src -v ${PWD}/app.py:/app/app/py yogafitness
7️⃣ Run & Map Docker Container With Repo (Mac/Linux): docker run -p 5000:5000 -v ${pwd}/src:/app/src -v ${pwd}/app.py:/app/app/py yogafitness
Resources & More:
🔑 My GitHub Repository for Docker Setup: [ Ссылка ]
🔑 Figma Design Link: [ Ссылка ]
🔑 Download & Install Docker: [ Ссылка ]
🔑 Download & Install Node: [ Ссылка ]
🔑 Download Vs Code: [ Ссылка ]
Stay Connected:
👍 If you find this video helpful, please give it a thumbs up.
💬 I'd love to hear your thoughts or questions in the comments.
🔔 Don't forget to subscribe and hit the bell for more - [ Ссылка ]
Thank you for watching!
#Docker #DevEnvironment #CodingTutorial #WebDevelopment #python #howto
![](https://s2.save4k.ru/pic/TXqSC2od4-8/maxresdefault.jpg)