Skip to content

testdrivenio/flask-htmx-tailwind

Repository files navigation

Rapid Prototyping with Flask, htmx, and Tailwind CSS

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment:

    $ python3 -m venv venv && source venv/bin/activate
  3. Install the Python dependencies:

    (venv)$ pip install -r requirements.txt
  4. Configure Tailwind CSS:

    (venv)$ tailwindcss
  5. Scan the templates and generate CSS file:

    (venv)$ tailwindcss -i ./static/src/main.css -o ./static/dist/main.css --minify
  6. Run the app:

    (venv)$ python app.py
  7. Test at http://localhost:5000/