Difficulty: Beginner
Estimated Time: 10 minutes

Markdown editor for creating steps

Changes are automatically saved.

Code can be marked as user-executable via your code here

Don’t stop now! The next scenario will only take about 10 minutes to complete.

celery - 7 - Scheduling Tasks

Step 1 of 2

Install RabbitMQ and celery

Let's get the installations done, prior to creating tasks

sudo apt-get install rabbitmq-server -y; sudo rabbitmqctl add_user celuser celpa55wd; sudo rabbitmqctl add_vhost celvhost; sudo rabbitmqctl set_permissions -p celvhost celuser ".*" ".*" ".*"; sudo rabbitmqctl set_user_tags celuser administrator; broker_url='amqp://celuser:[email protected]:5672/celvhost'; apt-get install python3-pip -y --fix-missing; pip3 install celery flower