- Basic Flask app scaffolding
- TailwindCSS setup using npm (with purge implemented for Production)
Setup and activate a virtual python environment before proceeding.
Clone the repository onto your local computer and run:
pip install -r requirements.txt
to install flask packagesnpm install
to install npm packages frompackage.json
npm run develop:css
to build Tailwind for development (no purge) and start Flask application by runningpython run.py
.- When ready for production run
npm run build:css
to prepare a purged CSS build for production
Enjoy!