# flask_apscheduler_cron **Repository Path**: luckwsm/flask_apscheduler_cron ## Basic Information - **Project Name**: flask_apscheduler_cron - **Description**: flask和apscheduler实现的任务调度系统 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 8 - **Created**: 2021-12-02 - **Last Updated**: 2021-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flask_apscheduler任务调度系统 flask和apscheduler实现的任务调度系统 # front为前端代码,backend为后端代码 #安装说明 安装python3.X版本,然后运行pip install -r requirements.txt 进行python模块的安装 # nginx修改配置 location ^~ /api/{
proxy_pass http://127.0.0.1:5000/;
proxy_redirect default;
proxy_set_header HOST $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
# 修改config.py配置
MYSQLHOST = "127.0.0.1";
MYSQLPORT = 3306;
MYSQLUSER = "root";
MYSQLPASS = "root";
MYSQLDB = "test";
# 后端运行
python3 run.py