Instalación componentes para funcionamiento asincrono en producción
RabbitMQ + CELERY + FLOWER Instalar rabitMQ sudo apt-get install rabbitmq-server sudo rabbitmqctl -q status sudo rabbitmqctl stop Instalar Flower source /root/.virtualenvs/name_app/bin/activate pip3 install flower Arrancar Configurar Celery con supervisor cd /etc/supervisor/conf.d touch name_app_celery.conf Pegar y guadar [program:name_app_celery] command =/root/.virtualenvs/name_app/bin/celery worker -A name_app.celery --loglevel=INFO directory=/var/www/name_repository/ user=root environment=C_FORCE_ROOT="true" numprocs=1 stdout_logfile=/var/log/name_app/celery/access.log stderr_logfile=/var/log/name_app/celery/error.log autostart=true autorestart=true [...]