13a259b0f8
Files: - lottery.py (1189 lines) — DoubleColorBallGenerator core engine - fetch_data.py (131 lines) — history data fetcher from 55128.cn - web_executor.py (216 lines) — data fetch Web console (Flask :5000) - app.py (505 lines) — number generation Web service (Flask :8085) - index.html (1171 lines) — frontend SPA - web_console.html (323 lines) — fetch console frontend - deploy/ — systemd service + cron script + logs BIZ-74 architecture review baseline
16 lines
494 B
Desktop File
16 lines
494 B
Desktop File
[Unit]
|
|
Description=双色球数据抓取 Web 服务
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=vincent
|
|
WorkingDirectory=/home/vincent/Studio/lottoData
|
|
ExecStart=/home/vincent/Studio/lottoData/venv/bin/python3 /home/vincent/Studio/lottoData/web_executor.py
|
|
ExecStartPre=/home/vincent/Studio/lottoData/venv/bin/python3 -c "import flask; import pandas; import openpyxl; import requests; import bs4"
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
KillMode=control-group
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |