首页
首页

running_page一键启动

rm -r running_page/
cd /root/桌面/
git clone https://github.com/yihong0618/running_page.git –depth=1
cd /root/桌面/running_page/
python3 scripts/garmin_sync.py garmin@garmin.com password –only-run –is-cn
python3 scripts/gen_svg.py –from-db –title “Runking run” –type github –athlete “Runking” –special-distance 40 –special-distance2 20 –special-color yellow –special-color2 red –output assets/github.svg –use-localtime –min-distance 1
python3 scripts/gen_svg.py –from-db –title “Runking run” –type grid –athlete “Runking” –output assets/grid.svg –min-distance 20.0 –special-color yellow –special-color2 red –special-distance 20 –special-distance2 40 –use-localtime
python3 scripts/gen_svg.py –from-db –type circular –use-localtime
yarn develop –host 0.0.0.0 –port 8000