mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 06:31:09 -05:00
Refactor development server startup instructions for clarity and conciseness
This commit is contained in:
17
.clinerules
17
.clinerules
@@ -1,24 +1,13 @@
|
||||
# Project Startup Rules
|
||||
|
||||
## Development Server
|
||||
IMPORTANT: Always follow these instructions exactly in this order when starting the development server:
|
||||
IMPORTANT: Always follow these instructions exactly when starting the development server:
|
||||
|
||||
1. First, kill any existing process on port 8000:
|
||||
```bash
|
||||
lsof -ti :8000 | xargs kill -9
|
||||
lsof -ti :8000 | xargs kill -9; find . -type d -name "__pycache__" -exec rm -r {} +; uv run manage.py tailwind runserver
|
||||
```
|
||||
|
||||
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.
|
||||
Note: These steps must be executed in this exact order as a single command to ensure consistent behavior.
|
||||
|
||||
## Package Management
|
||||
IMPORTANT: When a Python package is needed, only use UV to add it:
|
||||
|
||||
Reference in New Issue
Block a user