Collectstatic and Tailwind CLI - Deployment with Django - Part 2

preview_player
Показать описание
In this video we will install the Tailwind CLI, create a minified css file and save a copy of all our static files to one folder.

This is part of a tutorial series where we build a web app from scratch and go live on the internet. Enjoy.

0:00 Node
3:58 Tailwind CLI
15:16 Clean CSS CLI
19:09 Whitenoise
21:11 Collectstatic

Follow me on:

Support me on:
Thank you.

#django #htmx #deployment #tailwindcss #tailwind #collectstatic #staticfiles #python #pythonprogramming #selftaughtdeveloper #webdevelopment #webapp #stayathomedad
Рекомендации по теме
Комментарии
Автор

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 ?

midhunskani
Автор

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.

Good-and-Geeky
Автор

This was so incredibly helpful. Thank you for making Tailwind with Django to production something easier to swallow! I'd been fighting with it for a while, but your tutorial was the best by far. You rock!

Tacotom
Автор

This is the only time I like and appreciate Youtube 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

alexdin
Автор

i install nodejs with apt install nodejs. after that it is not initial inside node file instead of it initial in /usr/share/nodejs/npm and not installing tailwind packages

strangernoisetamil
Автор

I have carefully follwed all the steps still in tailwind.css file @tailwind or @apply is not being recognised, Im stuck please help!

arpitajana
Автор

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.

cllatser