投流数据文章相关服务开发

luojunhui 7b0d0d64fb format code 11 ay önce
applications 7b0d0d64fb format code 11 ay önce
routes 7b0d0d64fb format code 11 ay önce
tasks 7b0d0d64fb format code 11 ay önce
.gitignore 18a8b26662 2025-01-03 修改gitignore文件 1 yıl önce
Dockerfile 7bcfa572f0 init 11 ay önce
LICENSE d3cfb36cda Initial commit 1 yıl önce
README.md f8834ca507 update markdown 11 ay önce
app_config.toml 9bf532caa6 update prot 11 ay önce
docker-compose.yaml 7aa217a476 init 11 ay önce
requirements.txt a8a9bbc54c 提交测试版本 1 yıl önce
task_app.py c2ddb8af88 Changes 11 ay önce

README.md

LongArticleTaskServer

description: a server for long_articles project experiments and tasks

启动服务

use hypercorn

hypercorn task_app:app --config app_config.toml

use docker

docker compose up -d

项目结构

├── Dockerfile
├── LICENSE
├── README.md
├── app_config.toml
├── applications
│   ├── api
│   │   └── aliyun_log_api.py
│   ├── config
│   │   ├── __init__.py
│   │   └── mysql_config.py
│   ├── database
│   │   ├── __init__.py
│   │   └── mysql_pools.py
│   ├── service
│   │   ├── __init__.py
│   │   ├── get_cover.py
│   │   └── response.py
│   └── utils
│       ├── __init__.py
│       └── get_cover.py
├── dev
│   └── dev.py
├── docker-compose.yaml
├── requirements.txt
├── routes
│   ├── __init__.py
│   └── blueprint.py
└── task_app.py