Question about development environment with django-tailwind-cli library #138
Replies: 2 comments 6 replies
-
My take is, that I put assets/css or specifically the assets/css/tailwind.css in the .gitignore file. During development it is rebuilt all the time. For production it is built while I create my docker container. The tailwind.config.js is a different story. It is only created once, when it is missing. Afterwards it is part of your source code. Inside you can extend tailwind with it, so you want to have this under source control. |
Beta Was this translation helpful? Give feedback.
-
Taking advantage of this, I would like to know if it is possible to use the lib without docker. My idea to start is to deploy my system on Digital Ocean for simplicity in deployment. https://www.digitalocean.com/community/tutorials/how-to-deploy-django-to-app-platform |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry for my lack of experience.
I would like to know if it is advisable for my repository on github to put the assets/css folder and the tailwind.config.js file in .gitignore. Because when I prepare my local environment I will start python manage.py tailwind runserver to download the tailwind css. I say this because if I already have my HTML pages styled with Tailwind, when I install the library they will work.
Beta Was this translation helpful? Give feedback.
All reactions