Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Add rq-dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Graves committed Jun 22, 2016
1 parent c12059c commit c5fb5e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kepler/app.py
Expand Up @@ -5,6 +5,7 @@

from flask import Flask
import yaml
import rq_dashboard

from kepler.extensions import db, solr, geoserver, dspace, req
from kepler.job import job_blueprint
Expand Down Expand Up @@ -42,6 +43,7 @@ def register_blueprints(app):
app.register_blueprint(item_blueprint)
app.register_blueprint(layer_blueprint)
app.register_blueprint(marc_blueprint)
app.register_blueprint(rq_dashboard.blueprint, url_prefix='/rq')
app.logger.info('Blueprints registered')


Expand Down
2 changes: 2 additions & 0 deletions kepler/settings.py
Expand Up @@ -32,6 +32,8 @@ def __init__(self):
self.GEOSERVER_AUTH_USER = os.environ['GEOSERVER_AUTH_USER']
self.GEOSERVER_AUTH_PASS = os.environ['GEOSERVER_AUTH_PASS']
self.REDISTOGO_URL = os.environ['REDISTOGO_URL']
self.REDIS_URL = os.environ['REDISTOGO_URL']
self.RQ_POLL_INTERVAL = 2500


class TestConfig(DefaultConfig):
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -25,6 +25,7 @@ PyYAML==3.11
redis==2.10.5
requests==2.9.1
rq==0.5.6
rq-dashboard==0.3.7
six==1.10.0
smmap==0.9.0
SQLAlchemy==1.0.12
Expand Down

0 comments on commit c5fb5e5

Please sign in to comment.