---
title: Install daisyUI for Django
desc: How to install Tailwind CSS and daisyUI in a Django project, without Node.js
---
### 1. Create a new Django project
Install Python according to the [official Python docs](https://www.python.org/)
Install Django
```sh:Terminal
python -m pip install Django
```
Create a new Django project called `myapp` and navigate into the project directory
```sh:Terminal
django-admin startproject myapp
cd myapp
```
### 2. Create a homepage in Django
Create a template file
```html:myapp/templates/index.html
### 4. Run the Tailwind CSS executable to generate output.css
Using `--watch` will automatically update the output.css file when you change the input.css file.
For CI/CD, run the command without `--watch` to generate the output.css file once.
```sh:Terminal
myapp/static/css/tailwindcss -i myapp/static/css/input.css -o myapp/static/css/output.css --watch
# For Windows
myapp\static\css\tailwindcss.exe -i myapp/static/css/input.css -o myapp/static/css/output.css --watch
```
### 7. Run the Django server
Run the Django server on another terminal tab
```sh:Terminal
python manage.py runserver
```
Now you can use daisyUI class names!