Перейти к содержимому

Instantly Create A Local Development Environment - Beginner To Pro

JCBCB

0:00 / 0:00

Instantly Create A Local Development Environment - Beginner To Pro

4 643 просмотра · 2 года назад
JCBCB
1,5 тыс. подписчиков
4 643 просмотра · 2 года назад
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 -    • Develop A Modern Website For Beginners: ST...   🎥 Check Out Full Design Video -    • Design A Modern Website For Beginners: STA...   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: https://github.com/JaquesBotha/YogaFi... 🔑 Figma Design Link: https://www.figma.com/community/file/... 🔑 Download & Install Docker: https://www.docker.com/products/docke... 🔑 Download & Install Node: https://nodejs.org/en/download 🔑 Download Vs Code: https://code.visualstudio.com/download 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 -    / @jcbcb   Thank you for watching! #Docker #DevEnvironment #CodingTutorial #WebDevelopment #python #howto