RomanChernin
RomanChernin
RRailway
Created by RomanChernin on 8/2/2023 in #✋|help
How to run my django app and celery simultaneously?
I have django web app which I deploy in railway.app. My app using celery + redis to run tasks. In my local machine I have two commands for run my app and celery separately in Makefile: PORT ?= 8000 start: poetry run gunicorn -w 5 -b 0.0.0.0:$(PORT) site_checker.wsgi:application celery: poetry run celery -A site_checker worker --loglevel=info
However, in the railway.app settings, I can only specify one start command. What is the best way to run both my app and Celery simultaneously? id: 6bdec234-7b62-42c0-9818-25372e1f4e09
7 replies