update at 2026-02-12 09:56:46
This commit is contained in:
11
run.sh
11
run.sh
@@ -1,12 +1,13 @@
|
|||||||
|
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|
||||||
lsof -ti:5173,5174,5175,5176 | xargs kill -9 2>/dev/null;
|
lsof -ti:5173,5174,5175,5176 | xargs kill -9 2>/dev/null;
|
||||||
|
|
||||||
python font2svg.py --fontdir font --text "星程紫微" --outdir svg
|
python font2svg.py --fontdir font --text "星程紫微" --outdir svg
|
||||||
|
|
||||||
|
# 新增字体放在fonts目录下,运行以下命令,fonts.json会被更新
|
||||||
# 新增字体放在frontend/public/fonts目录下,运行以下命令,fonts.json会被更新
|
|
||||||
npm run prepare-fonts
|
npm run prepare-fonts
|
||||||
|
|
||||||
|
# 查看请求日志 MacMini
|
||||||
|
tail -f /tmp/font2svg-api.log
|
||||||
|
|
||||||
|
# 查看请求日志 Linux
|
||||||
|
sudo journalctl -u font2svg-api -f
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user