Parallels / rq-dashboard

Flask-based web front-end for monitoring RQ queues
http://python-rq.org/
Other
1.45k stars 328 forks source link

RQ-Dashboard Interface Mismatch #407

Open diogper opened 2 years ago

diogper commented 2 years ago

Hello everyone, I started using rq-dashboard but I noticed that although the rq-dashboard version is the same from pip and docker container, both have different user interface.

From docker container I get something like: image

But from flask integration and pip I get: image

I integrated directly on my flask server using the blueprint register.

Any idea why this happens? I wanted really to integrate it with my flask app cause I do not want to spawn more containers... Thank you for your time.

FriedRiceWithEggs commented 2 years ago

I think this happens because docker pull eoranged/rq-dashboard pulls from the master branch and with pip install rq-dashboard you install 0.6.1. The html template files from 0.6.1 and the master branch are different.

In the readme there is also a snippet for integrating the dashboard in flask. For 0.6.1 this worked without issues for me but for the version on the master branch I got a no redis configuration error. Just add app.config["RQ_DASHBOARD_REDIS_URL"] = 'redis://localhost:6379' to your flask config then.

diogper commented 2 years ago

So I just issued pip install "git+https://github.com/rq/rq-scheduler.git" and still I receive the deprecated web interface... :-/

homeworkprod commented 1 year ago

So I just issued pip install "git+https://github.com/rq/rq-scheduler.git" and still I receive the deprecated web interface... :-/

Highly likely because this is rq-dashboard, not rq-scheduler. :)