Coder Social home page Coder Social logo

dbflower's Introduction

dbflower

flower 的二次开发,可以存储任务状态到mysql数据库中

将此项目拷贝到目标项目作为一个包使用

├── app     # 项目web模块
│   ├── mixin
│   ├── models
│   ├── static
│   ├── templates
│   ├── utils
│   └── views
├── to       # celery 任务模块
│   ├── celery
│   └── tasks
├── flower   # flower单独作为一个包使用
│   ├── api
│   ├── db
│   ├── static
│   ├── templates
│   ├── utils
│   └── views
└── spider   # 项目其他模块

和其他使用celery的项目一起调用方式

# 任务信息不存储到mysql启动方式
python flower.py -A to.celery:app -l info

# 任务信息存储mysql启动方式
python flower.py -A to.celery:app -l info --db-mysql=root:root@localhost:3306/test

修改数据连接地址

flower.db.api.conn_str

dbflower's People

Contributors

hellowac avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

moorewqk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.