Тёмный

Collectstatic and Tailwind CLI - Deployment with Django - Part 2 

Andreas Jud
Подписаться 4,3 тыс.
Просмотров 2,1 тыс.
50% 1

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

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@midhunskani
@midhunskani Год назад
Nice video. I have a doubt in this video if we dont use tailwind then we need to follow the tutorial from 19:09 am i correct ?
@ajudmeister
@ajudmeister Год назад
Thank you. Yes that's correct. Irrelevant if you are using tailwindcss or not, you need to install whitenoise to serve static files in production, add the static_root in the settings.py file and run the collectstatic command.
@midhunskani
@midhunskani Год назад
@@ajudmeister One more request bro. Can u do some tutorial on deploying django app using docker.
@ajudmeister
@ajudmeister Год назад
@@midhunskani I tried docker in some projects and in my experience it adds a lot of complexity and it’s time consuming to have it working. I don’t think for smaller projects or if you are working alone Docker is worth the time and effort. However it can be beneficial on bigger project and when you work in teams to make sure everyone works in the same environment. I might make a future video about it. Thanks for the suggestion.
@Good-and-Geeky
@Good-and-Geeky 11 месяцев назад
I saw another video last week about setting up Django to use Tailwind. I thought it was long and complicated and it really put me off using Tailwind. Watching this now and I'm back on board with Tailwind. Just a few simple steps and you're in business. Thanks again.
@ajudmeister
@ajudmeister 11 месяцев назад
Yea, it’s a bit complicated to set it up for production, I wish it was a bit more straightforward with a Django/python specific solution. I hope this will come in future. 🤞
@alexdin1565
@alexdin1565 8 месяцев назад
The same with me
@alexdin1565
@alexdin1565 8 месяцев назад
This is the only time I like and appreciate RU-vid Suggestion because they suggest your video and Its Amazing content and you deserve 10 Million subscriber without any doubt. Some suggestions: 1. Please can you add videos about Admin dashboard ovveride using tailwind because the default is awfull. 2. Add videos about Redis and celery. 3. Django channels 4. django tenant
@ajudmeister
@ajudmeister 8 месяцев назад
Thanks a lot! Great suggestions! 1. Yep, admin UI needs an overhaul 2. Yes, on the roadmap 3. Also this one 4. This is a new concept for me, I will look into it. Thanks for the suggestion.
@Armin-q6p
@Armin-q6p Год назад
Keep going on Bro
@frameff9073
@frameff9073 Год назад
thank
@cllatser
@cllatser 18 дней назад
Hi, if you can help, I noticed that I was not loading the css file depending on the state of the debug tag. After investigating in the settings.py file I have to add the following variable and it works perfectly: INTERNAL_IPS = ("127.0.0.1", "0.0.0.0") Best regards and thanks to Andreas.
@ajudmeister
@ajudmeister 18 дней назад
Yea, it's a bit of a pain, but in order for {% if debug %} to work you need to define the internal_IPS. Thanks for pointing it out.
Далее
Backend web development - a complete overview
12:58
Просмотров 1,8 млн
How To Deploy A Django Project To Heroku
14:02
Просмотров 51 тыс.
Django and Htmx Todo Application | Tailwind CSS
25:33
4 ways to serve static files in Django
8:11
Просмотров 12 тыс.
Integrate Tailwind into your Django application
28:36