Django Deploy with Render, PostgreSQL, Cloudinary, Gmail, Github & Tailwind

  Рет қаралды 560

Andreas Jud

Andreas Jud

Күн бұрын

In this tutorial we deploy a Django app to a web server, connected to a PostgreSQL database, media server and email client.
Django Deployment Series: • Environment Variables ...
Railway: • Deploy Django app to R...
AWS: • AWS S3 bucket & files ...
Gmail: • Email Verifications & ...
Django Starter: • Django Starter with Al...
Live Site: awesomepixx.com
0:00 Django Starter
4:22 Environment Variables
7:48 Static Files
8:54 Media Files
11:00 Tailwind CSS
18:16 Postgres Database
21:10 Email
23:55 Github
25:20 Web Server
Support me on:
Patreon: / andreasjud
Buy me a Coffee: www.buymeacoffee.com/andreasjud
Merch Store: andreas-jud-store.myspreadsho...
Thank you.
Follow me on:
Twitter: / ajudmeister
Instagram: / ajudmeister
#django #github #render #cloudinary #tailwindcss #tailwind #gmail #postgres #postgresql #deployment #allauth #python #pythonprogramming #selftaughtdeveloper #webdevelopment #webapp #entrepreneur #stayathomedad

Пікірлер: 17
@user-bd1dh7hh1j
@user-bd1dh7hh1j 21 күн бұрын
I doubt there is a more comprehensive yet easy to follow series about Django in all of youtube. Keep it up Andreas, and thank you once again!
@ajudmeister
@ajudmeister 21 күн бұрын
Thank you!
@aashayamballi
@aashayamballi 22 күн бұрын
thank you!
@mahmoudramadan6581
@mahmoudramadan6581 21 күн бұрын
Great 👍
@Pepe-tp5mk
@Pepe-tp5mk 21 күн бұрын
A good video again but I have a question about the use of django in realtime most dev don't recommend the use of django for realtime what do you think about. Thank
@ajudmeister
@ajudmeister 21 күн бұрын
This video is a generic guide how to deploy a Django app, not specific to a real-time app, but regarding real-time, Django is still maturing in that area and might not be the highest performing yet, however it can easily handle asynchronous communication for a chat feature. If high-performing real-time and speed is your main feature then maybe FastAPI would be a better alternative. You could also combine technologies and offloading real-time functionalities to a specialized framework.
@user-jf5zr2wz2z
@user-jf5zr2wz2z 16 күн бұрын
Hello I have any issues for python manage.py collectstatic it can't take the files to my static files but everything are set well I don't know but the build for taiwind is working and the file are built also in my style.css but it can't put those file In staticfiles
@ajudmeister
@ajudmeister 16 күн бұрын
For collectstatic you only need to define the static root. Maybe there is a spelling mistake somewhere? STATIC_ROOT = BASE_DIR / 'staticfiles'
@user-jf5zr2wz2z
@user-jf5zr2wz2z 16 күн бұрын
I found that when those cloudinary when they are in installed apps I can't do collectstatic 'cloudinary_storage', 'django.contrib.staticfiles', 'cloudinary',
@ajudmeister
@ajudmeister 16 күн бұрын
@@user-jf5zr2wz2z try to add 'django.contrib.staticfiles', before the cloudinary app, unless you want the static files to be saved on cloudinary..
@user-jf5zr2wz2z
@user-jf5zr2wz2z 16 күн бұрын
@@ajudmeister yeah worked thanks
@ashkansamadian2338
@ashkansamadian2338 22 күн бұрын
thank you! but why not use docker-compose? is way easier these days and alot cheaper! and also i setup my server 6 month ago after that i never touched my server once altho massive changes has been made to my sorc code. (changing db tables adding or removing libraries etc ..) all auto deployed built and deployed via github actions.
@ajudmeister
@ajudmeister 22 күн бұрын
I wanted to show that fundamentally you don't need docker to deploy an app and it adds another layer of complexity. For beginners the simpler and straight forward the better. I will cover docker in a future video.
@ashkansamadian2338
@ashkansamadian2338 21 күн бұрын
@@ajudmeister True but as you know probably the hardest part is installing docker-compose 😂. (Ps. Traefik is amazing) The rest is sudo docker-compose up -d
@ashkansamadian2338
@ashkansamadian2338 21 күн бұрын
@@ajudmeister oh one more thing regarding this series, uploading files via websockets (over a signle tcp) is really slow as you know. I suggest maybe looking into Chunk file upload as well for future videos. Absolutely no video guid and veryyy little docs regarding this method using django could be found online.
@ajudmeister
@ajudmeister 21 күн бұрын
@@ashkansamadian2338 precisely because the set up is tricky it needs it's own video. And people (me included) prefer the good old django start commands instead of the docker-compose commands, but I guess that's personal preference.
@ajudmeister
@ajudmeister 21 күн бұрын
@@ashkansamadian2338 oh thanks. didn't know that. will look into it. thanks for the suggestion.
100+ Web Development Things you Should Know
13:18
Fireship
Рет қаралды 1,4 МЛН
10 Tailwind Tricks You NEED To Know!
10:45
Ravi - Perfect Base
Рет қаралды 266 М.
В ДЕТСТВЕ СТРОИШЬ ДОМ ПОД СТОЛОМ
00:17
SIDELNIKOVVV
Рет қаралды 2,5 МЛН
ПООСТЕРЕГИСЬ🙊🙊🙊
00:39
Chapitosiki
Рет қаралды 38 МЛН
Make me the happiest man on earth... 🎁🥹
00:34
A4
Рет қаралды 8 МЛН
Sigma Girl Education #sigma #viral #comedy
00:16
CRAZY GREAPA
Рет қаралды 102 МЛН
Environment Variables - Deployment with Django - Part 1
13:24
Andreas Jud
Рет қаралды 2,6 М.
10 Tailwind Classes I Wish I Knew Earlier
13:31
Web Dev Simplified
Рет қаралды 159 М.
Deploy a Django web app to a Render live server with PostgreSQL
46:57
Cloud With Django
Рет қаралды 25 М.
Guillermo Rauch - Vercel, The Front End Cloud
1:05:02
devtools-fm
Рет қаралды 6 М.
Backend web development - a complete overview
12:58
SuperSimpleDev
Рет қаралды 1,6 МЛН
Ryan Carniato - SolidJS - SolidStart - DevWorld 2024
28:29
JSWORLD Conference
Рет қаралды 6 М.
Designing scalable Compose APIs
19:53
Android Developers
Рет қаралды 10 М.
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 21 МЛН
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 24 МЛН
Задача APPLE сделать iPHONE НЕРЕМОНТОПРИГОДНЫМ
0:57