mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 04:31:09 -05:00
Refactor development server startup instructions for clarity and conciseness
This commit is contained in:
@@ -169,25 +169,13 @@ uv add <package>
|
||||
Do not attempt to install packages using any other method (pip, poetry, etc.).
|
||||
|
||||
### Development Server Management
|
||||
1. Server Startup Process
|
||||
IMPORTANT: Always follow these steps exactly in this order when starting the development server:
|
||||
Server Startup Process
|
||||
IMPORTANT: Always execute the following command exactly as shown to start the development server:
|
||||
```bash
|
||||
lsof -ti :8000 | xargs kill -9; find . -type d -name "__pycache__" -exec rm -r {} +; uv run manage.py tailwind runserver
|
||||
```
|
||||
|
||||
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.
|
||||
Note: These steps must be executed in this exact order as a single command to ensure consistent behavior.
|
||||
|
||||
### Feature Development
|
||||
1. Planning
|
||||
|
||||
Reference in New Issue
Block a user