Skip to content

python manage.py

DjipFast comes with some convenience commands to run the server and tailwind concurrently.

python manage.py dev

Running python manage.py dev will run python manage.py runserver and python manage.py tailwind in the same terminal. This means, logs are interleaved.

python manage.py dev

Running python manage.py dev --tmux will run python manage.py runserver and python manage.py tailwind in separate tmux panes. I prefer this because it's easier to differentiate between the logs. Requires tmux to be installed.

python manage.py dev --tmux

Of course, you can also always run python manage.py runserver and python manage.py tailwind separately.

python manage.py separate

python manage.py tailwind

By default python manage.py tailwind runs the tailwind cli in --watch mode to watch for changes and rebuild as needed.

To build and minify the css for production, run python manage.py tailwind --minify.

tailwind cli with built-in daisyui

The official tailwind cli comes pre-packaged with standard tailwind plugins like @tailwindcss/typography or @tailwindcss/forms. DjipFast comes with a custom standalone tailwind cli that is pre-packaged with daisyui.