Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 1.82 KB

README.md

File metadata and controls

76 lines (60 loc) · 1.82 KB

flask-redisboard

A flask extension to support user view and manage redis with beautiful interface.

Preview

Screenshot Dashboard Screenshot Database
Screenshot Command Screenshot ServerInfo

Get Started

Installation is easy:

$ pip install flask-redisboard

Try to run

Just type command:

$ redisboard

Run in flask

Initialize the extension:

from flask_redisboard import RedisBoardExtension
...
board = RedisBoardExtension(app)

Also support for factory pattern:

from flask_redisboard import RedisBoardExtension
from flask import Flask

board = RedisBoardExtension()


def create_app():
    app = Flask(__name__)
    app.config['SECRET_KEY'] = '123456'
    board.init_app(app)
    app.run()


if __name__ == '__main__':
    create_app()

Now, you can go to 127.0.0.1:5000/redisboard