# Project Startup Rules ## Development Server IMPORTANT: Always follow these instructions exactly in this order when starting the development server: 1. First, kill any existing process on port 8000: ```bash lsof -ti :8000 | xargs kill -9 ``` 2. Then, delete all __pycache__ directories: ```bash find . -type d -name "__pycache__" -exec rm -r {} + ``` 3. Finally, run the Django development server with Tailwind using UV: ```bash uv run manage.py tailwind runserver ``` Note: These steps must be followed in exactly this order every time you start the development server to ensure consistent behavior. ## Package Management IMPORTANT: When a Python package is needed, only use UV to add it: ```bash uv add ``` Do not attempt to install packages using any other method.