Giter Club home page Giter Club logo

tabelsky_celery_fork's Introduction

1. Запускаем redis

docker-compose up 

в выводе должна присутсвовать строка

celery_minimal_netology-redis-1  | ...................... * Ready to accept connections

2. Запускаем celery

в другой вкладке терминал запускаем celery

celery -A tasks.celery_app worker

должен получится вывод без ошибок и ворнингов наподобие такого:

 -------------- celery@python-gear v5.2.7 (dawn-chorus)
--- ***** ----- 
-- ******* ---- Linux-5.4.0-135-generic-x86_64-with-glibc2.31 2022-12-22 13:53:48
- *** --- * --- 
- ** ---------- [config]
- ** ---------- .> app:         __main__:0x7f63c72023e0
- ** ---------- .> transport:   redis://127.0.0.1:6379/1
- ** ---------- .> results:     redis://127.0.0.1:6379/2
- *** --- * --- .> concurrency: 12 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** ----- 
 -------------- [queues]
                .> celery           exchange=celery(direct) key=celery

3. Запускаем приложение

Запускаем main.py через ide или командой

python main.py

tabelsky_celery_fork's People

Contributors

tabelsky avatar

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.