From 3fc17e7f4527e8932ddd728fb29cfd45a2c58543 Mon Sep 17 00:00:00 2001 From: douboer Date: Thu, 12 Feb 2026 09:56:46 +0800 Subject: [PATCH] update at 2026-02-12 09:56:46 --- run.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/run.sh b/run.sh index dccf6fc..4b4bf51 100755 --- a/run.sh +++ b/run.sh @@ -1,12 +1,13 @@ - source .venv/bin/activate - lsof -ti:5173,5174,5175,5176 | xargs kill -9 2>/dev/null; - python font2svg.py --fontdir font --text "星程紫微" --outdir svg - -# 新增字体放在frontend/public/fonts目录下,运行以下命令,fonts.json会被更新 +# 新增字体放在fonts目录下,运行以下命令,fonts.json会被更新 npm run prepare-fonts +# 查看请求日志 MacMini +tail -f /tmp/font2svg-api.log + +# 查看请求日志 Linux +sudo journalctl -u font2svg-api -f