Skip to content

Commit 48d6fbb

Browse files
committed
Updated for pip replaced with uv.
1 parent 27e874a commit 48d6fbb

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,23 @@ This is a static site built with [MkDocs Material](https://squidfunk.github.io/m
3636

3737
1. Install dependencies:
3838
```bash
39-
pip install mkdocs-material
39+
uv sync
4040
```
4141

4242
2. Start the development server:
4343
```bash
44-
mkdocs serve
44+
uv run mkdocs serve
4545
```
4646

4747
3. Open your browser to [http://127.0.0.1:8000](http://127.0.0.1:8000)
4848

49+
50+
4. Run the image scripts if required:
51+
```bash
52+
uv run python scripts/optimize_image.py foo.png
53+
uv run scripts/optimize_all_images.sh
54+
```
55+
4956
### Local Development (Docker)
5057

5158
1. Start the development server:
@@ -150,10 +157,7 @@ python3 scripts/optimize_image.py docs/posts/2026/04/14/*.png docs/posts/2026/04
150157
python3 scripts/optimize_image.py --quality 90 --max-width 1600 image.jpeg
151158
```
152159

153-
> **Note:** This script requires [Pillow](https://pillow.readthedocs.io/). Install dev dependencies with:
154-
> ```bash
155-
> pip install -r requirements-dev.txt
156-
> ```
160+
157161

158162
### Categories and Tags
159163

0 commit comments

Comments
 (0)