Тёмный

Build a Content Engine with Django, Kubernetes, TailwindCSS, Twingate, AWS S3, & HTMX FULL TUTORIAL 

CodingEntrepreneurs
Подписаться 348 тыс.
Просмотров 38 тыс.
50% 1

Build a Content Engine with Django, Kubernetes, TailwindCSS, Twingate, AWS S3, & HTMX FULL TUTORIAL
🚀 Sign up for Twingate right now: www.twingate.com/?...
🚀 Check out the Twingate K8s Operator: github.com/Twingate/kubernete...
💻 Project Code: github.com/codingforentrepren...
▶︎ References
● Django on Docker guide: cfe.sh/blog/django-on-docker
● Docker & Docker Compose tutorial series: cfe.sh/projects/docker-and-do...
● Github Actions guide: cfe.sh/blog/django-github-act...
● Akamai Linode Promo credit for new accounts: linode.com/justin
● Project Code: github.com/codingforentrepren...
● Install KubeCTl on Mac: • Deploy Django into Pro...
● Install Kubectl on Windows: • Deploy Django into Pro...
● Using Docker & Dockerfiles to Containerize Django: • Django Project: Build ...
● Integrating Tailwind & Django (in-depth): • Django & TailwindCSS! ...
0:00:00 Welcome & Demo
0:16:25 Requirements
0:19:05 Why we use Django in Containers
0:22:07 Automate Django as a Container
0:36:23 Setup Local Django Environment
0:43:55 Why we use Kubernetes
0:47:37 Provision Kubernetes Cluster
0:53:15 Your First Running Container on Kubernetes
0:58:17 Environment Variables with ConfigMaps
1:03:17 Env Vars with K8s Secrets
1:09:15 The Kubernetes Way of Doing SSH
1:12:31 Multiple Pods & K8s Selectors
1:16:33 Managing Pods with Deployments
1:25:08 Serve External Traffic with K8s Services
1:33:56 Update Django Project and Rollout Changes
1:41:00 GitHub Actions Workflow for Kubectl
1:48:42 GitHub Actions as our Secrets Manager
1:56:13 Setup Twingate Network and Client
2:01:59 Integrate Twingate with Kubernetes via Connectors
2:09:00 Your First Twingate Resource
2:12:44 K8s Service DNS + Twingate
2:15:03 Postgres DBs via Twingate and Kubernetes
2:22:47 Loading Env Vars with Python Decouple
2:31:14 Integrate Postgres + Django
2:39:11 Verify Postgres with our K8s Deployment
2:45:15 Django Static Root and Auto Containers
2:51:41 Implement Whitenoise in Django
2:56:25 Using Tailwindcss, Flowbite & Django
3:08:30 The Content Engine Features
3:11:04 Our Project Model
3:16:53 Override Save to Generate Slug Handle
3:18:47 Unique Slugify For SlugFields
3:30:40 Project Activation Views
3:40:36 Custom Middleware for request.project
3:44:52 Caching with Middleware for Project Activation
3:53:29 Items for Projects
4:00:15 Item Model Form and Create View
4:10:05 Styling Django Forms the TailwindCSS Way
4:22:44 Item List and Detail View
4:30:06 Item Update View
4:36:20 Item Delete View
4:40:47 Project CRUD Views
4:54:51 Cleaning Up Project CRUD
5:05:51 Flowbite Navbar
5:15:24 Context Processor to View Projects
5:24:15 Activate Project Methods
5:31:41 Dashboard Table View
5:39:35 Project Required Decorator
5:53:18 Dynamic QuerySet Loading with HTMX
6:03:06 HTMX for Rendering Django Forms
6:09:12 Handling Django Forms with HTMX
6:12:07 Custom HTMX Trigger Event
6:18:21 Integrating HTMX with TailwindCSS
6:24:56 Delete Items with HTMX
6:31:04 Inline Row Edit with HTMX
6:38:31 Status Field with Django TextChoices
6:42:43 Dynamic Status Dropdown Select
6:49:17 Saving Dynamic List View Changes with HTMX
7:02:50 Amazon Web Services S3 Bucket and IAM Permission Setup
7:08:46 Integrating Python with S3 Buckets Using Boto3
7:24:07 Display S3 Objects via HTMX
7:35:26 View Bucket Contents via Presigning S3 Objects
7:45:16 Delete S3 Object with HTMX and Boto3
7:58:08 Presign File for Uploading to S3 Via Boto3
8:20:56 XMLHttpRequest for Upload and Progress
8:37:13 Upload Form in Item Detail View
8:48:28 Granting Access to Users
8:50:31 Project User through ManyToMany
8:59:32 Custom QuerySet for User Access
9:10:32 Thank you
08:48:28 Granting Access to Users
08:50:31 Project User through ManyToMany
08:59:32 Custom QuerySet for User Access
09:10:32 Thank you

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 51   
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
Thanks for watching. Here's a few quick references: Code: github.com/codingforentrepren... 0:00:00 Welcome & Demo 0:16:25 Requirements 0:19:05 Why we use Django in Containers 0:22:07 Automate Django as a Container 0:36:23 Setup Local Django Environment 0:43:55 Why we use Kubernetes 0:47:37 Provision Kubernetes Cluster 0:53:15 Your First Running Container on Kubernetes 0:58:17 Environment Variables with ConfigMaps 1:03:17 Env Vars with K8s Secrets 1:09:15 The Kubernetes Way of Doing SSH 1:12:31 Multiple Pods & K8s Selectors 1:16:33 Managing Pods with Deployments 1:25:08 Serve External Traffic with K8s Services 1:33:56 Update Django Project and Rollout Changes 1:41:00 GitHub Actions Workflow for Kubectl 1:48:42 GitHub Actions as our Secrets Manager 1:56:13 Setup Twingate Network and Client 2:01:59 Integrate Twingate with Kubernetes via Connectors 2:09:00 Your First Twingate Resource 2:12:44 K8s Service DNS + Twingate 2:15:03 Postgres DBs via Twingate and Kubernetes 2:22:47 Loading Env Vars with Python Decouple 2:31:14 Integrate Postgres + Django 2:39:11 Verify Postgres with our K8s Deployment 2:45:15 Django Static Root and Auto Containers 2:51:41 Implement Whitenoise in Django 2:56:25 Using Tailwindcss, Flowbite & Django 3:08:30 The Content Engine Features 3:11:04 Our Project Model 3:16:53 Override Save to Generate Slug Handle 3:18:47 Unique Slugify For SlugFields 3:30:40 Project Activation Views 3:40:36 Custom Middleware for request.project 3:44:52 Caching with Middleware for Project Activation 3:53:29 Items for Projects 4:00:15 Item Model Form and Create View 4:10:05 Styling Django Forms the TailwindCSS Way 4:22:44 Item List and Detail View 4:30:06 Item Update View 4:36:20 Item Delete View 4:40:47 Project CRUD Views 4:54:51 Cleaning Up Project CRUD 5:05:51 Flowbite Navbar 5:15:24 Context Processor to View Projects 5:24:15 Activate Project Methods 5:31:41 Dashboard Table View 5:39:35 Project Required Decorator 5:53:18 Dynamic QuerySet Loading with HTMX 6:03:06 HTMX for Rendering Django Forms 6:09:12 Handling Django Forms with HTMX 6:12:07 Custom HTMX Trigger Event 6:18:21 Integrating HTMX with TailwindCSS 6:24:56 Delete Items with HTMX 6:31:04 Inline Row Edit with HTMX 6:38:31 Status Field with Django TextChoices 6:42:43 Dynamic Status Dropdown Select 6:49:17 Saving Dynamic List View Changes with HTMX 7:02:50 Amazon Web Services S3 Bucket and IAM Permission Setup 7:08:46 Integrating Python with S3 Buckets Using Boto3 7:24:07 Display S3 Objects via HTMX 7:35:26 View Bucket Contents via Presigning S3 Objects 7:45:16 Delete S3 Object with HTMX and Boto3 7:58:08 Presign File for Uploading to S3 Via Boto3 8:20:56 XMLHttpRequest for Upload and Progress 8:37:13 Upload Form in Item Detail View 8:48:28 Granting Access to Users 8:50:31 Project User through ManyToMany 8:59:32 Custom QuerySet for User Access 9:10:32 Thank you 08:48:28 Granting Access to Users 08:50:31 Project User through ManyToMany 08:59:32 Custom QuerySet for User Access 09:10:32 Thank you
@silkogelman
@silkogelman 6 месяцев назад
This is like discovering an entire new season of my favorite TV series has been released all at once! 🥳 Thank you so much for this Justin!🙏🚀
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
😂 thanks for the good smile
@leocrawf
@leocrawf 6 месяцев назад
Really good to see premium HTMX content getting good.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
HTMX is my jam
@gustavojuantorena
@gustavojuantorena 6 месяцев назад
Wow! This is an incredible content. Thank you very much
@kaanatsever2333
@kaanatsever2333 6 месяцев назад
The course I've been waiting for has just been uploaded. Today is a good day.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
💯 also, thank you!
@ramon1664
@ramon1664 6 месяцев назад
its good to see your progress over time
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
Thank you
@clarencereyes31
@clarencereyes31 6 месяцев назад
Thank you for your amazing efforts 👏Your Django and Web Development content teaches so many valuable concepts in starting our own web project ideas, keep up the great work 🚀
@Noritoshi-r8m
@Noritoshi-r8m 5 месяцев назад
Aaaand done, great stuff, learned a lot.
@wmshakespeare
@wmshakespeare 5 месяцев назад
If you want to code along, start at 0:22:07 when Justin imports the Django Auto Container.
@amitavasengupta5580
@amitavasengupta5580 5 месяцев назад
Incredible. Can't believe how it's free
@tilerai
@tilerai 5 месяцев назад
amazing job
@joshbleijenberg4000
@joshbleijenberg4000 4 месяца назад
This is amazing
@aashayamballi
@aashayamballi 6 месяцев назад
Thank you!
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
You know it!
@genshen4703
@genshen4703 6 месяцев назад
thanks a lot, you're fire!
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
You’re 🔥
@charlie64x2
@charlie64x2 6 месяцев назад
Haven't watched it but already like it. Thanks!
@alexdin1565
@alexdin1565 6 месяцев назад
wooo 9 hours perfect content as always please can make a video on how we can override the admin area with tailwind or bootstrap?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
I like it! We need a repo that has this in place so you can just copy their admin templates to override.
@lightyagami4667
@lightyagami4667 5 месяцев назад
You're the god
@learnings.academy
@learnings.academy 6 месяцев назад
Wow, I'll be doing it in practice In sha Allah
@homeroacuna8210
@homeroacuna8210 5 месяцев назад
I think I'm in love
@laysskheir394
@laysskheir394 6 месяцев назад
Thanks! Please make more videos content on Django, DRF, Docker, and React Full stack projects and using tools like Redis, celery, Nginx , gunicorn
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
Do you have project ideas with this stack?
@madatbay
@madatbay 6 месяцев назад
It would be better to have some kind of SaaS project with next.js + drf including jwt authentication, RSC, server actions, some best practices for increasing performance, seo of project, tailwind + shadcn for speeding up things? Both FE and BE deployments and some other tech stuff mentioned above. This will be perfect fit for channel name and purpose
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
​@@madatbay Next.js with Django & DRF is interesting for sure -- basically replace Next's built-in API backend with Django's. but... django with HTMX is a great way to build out a proof of concept before investing in other UI / frontend tech. Once you have a PoC maybe the other tech is worth integrating but it's far more complex and thus dev time could be massive.
@laysskheir394
@laysskheir394 6 месяцев назад
I've successfully built e-commerce, LMS, and other projects using this powerful stack. Now, I'm eager to deepen my expertise, especially with Docker in Django and Next.js, and make projects like Miro clone Real-time using channels , you should make video about this stack @@CodingEntrepreneurs
@el-hech2889
@el-hech2889 6 месяцев назад
batman is that u ?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
💯
@NeuronX
@NeuronX 5 месяцев назад
fr real man 😂 but I would say more than that.
@pravarsharma
@pravarsharma 6 месяцев назад
Hi Justin, Do we really need django templates at this point where at some point our product is going to be humongous, and need mobile development, may be selling our API as 3rd part, then we have develope our product with API's (DRF), isn't it a repetitive approach, referring current scenario where we are shifting more towards API development, thoughts?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
There’s a massive wave towards leveraging HTML over JSON (thanks to tools like HTMX). While you can go Rest API first, it’s not always the right approach. HTML is major and works well. JavaScript is always changing. HTML over the wire and htmx are built with this in mind. It’s not exactly an either or. Rest apis can still be added without much extra work.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
If you need to build a mobile app right away, then yeah Rest API first all the way. Mobile apps mean app stores which mean approvals for listing on the app stores. HTML = internet = no approvals
@bubaisubrata
@bubaisubrata 5 месяцев назад
Can you make video(s) on wagtail?
@dgiri2333
@dgiri2333 6 месяцев назад
Sir can you do Geodjango and georestapi do geoprojects its more productive and realtime
@Web85
@Web85 6 месяцев назад
If I want to get job as a fresher django developer. Is it mandatory to learn django rest framework aswell
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
No! Build a full Django project with HTMX
@sanketkanade9548
@sanketkanade9548 6 месяцев назад
any perquisites to this or can just follow along
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
Some Django is ideal
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
I talk about what exactly in the video
@Asmrprogrammingfull
@Asmrprogrammingfull 2 месяца назад
Make an education app. Users are students, teachers, faculty administrators and administrators
@ricardorodriguez4180
@ricardorodriguez4180 6 месяцев назад
9 hours. My man.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
Let’s do this bud
@rokrok27
@rokrok27 6 месяцев назад
what the fucc is a content engine
@ordinarygg
@ordinarygg 6 месяцев назад
HOLLLYY COMPLEX SH***T, this is absolute nuts to have a couple of pages with html and css. FYI: all tech to master here requires your 10 years of life))))))))))
@CodingEntrepreneurs
@CodingEntrepreneurs 6 месяцев назад
Who said anything about master it? Using these tools does not require a master. This video is evidence of that.
@ordinarygg
@ordinarygg 6 месяцев назад
@@CodingEntrepreneurs yes 10 hours LOL
Далее
🌊🌊🌊
01:01
Просмотров 924 тыс.
Ouch.. 🤕
00:30
Просмотров 14 млн
Brawl Stars Animation: PAINT BRAWL STARTS NOW!
00:52
100+ Docker Concepts you Need to Know
8:28
Просмотров 886 тыс.
DJANGO VS REACT: KNOW THE DIFFERENCE
3:18
Просмотров 1,5 тыс.
Jeremy McPeak's Larabits - HTMX May Be All You Need
15:22
you need to learn Kubernetes RIGHT NOW!!
29:34
Просмотров 1,2 млн
Difference between cookies, session and tokens
11:53
Просмотров 608 тыс.
🌊🌊🌊
01:01
Просмотров 924 тыс.