# mini_celery **Repository Path**: max184/mini_celery ## Basic Information - **Project Name**: mini_celery - **Description**: No description available - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mini_celery python 3.6 下面测试通过 [https://mp.weixin.qq.com/s/P4nU4oLCRwhx9SSmbU96GA](https://mp.weixin.qq.com/s/P4nU4oLCRwhx9SSmbU96GA) 运行步骤: 1. `pip install -r requirements.txt` 2. `docker-compose up` 3. 将 mini_celery 目录路径加入到 PYTHON_PATH 4. 打开一个新的终端在当前目录输入 `python main_workers.py` 启动 worker 5. 打开另一个终端在当前目录输入 `python main_tasks.py` 发送异步任务 main_workers 终端获得结果 running task: 18c78ad3-ec6e-420a-999d-ac31e2c88f94 https://httpbin.org/24dkq40/example@example.org response:: succesful run of task: 18c78ad3-ec6e-420a-999d-ac31e2c88f94