Examples
Download
Type these commands in the terminal:
$ git clone https://github.com/ojso/flask-exts.git
$ cd flask-exts/examples
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install flask-exts
Run the examples
Type the command in the terminal, then go to http://localhost:5000.
simple
$ python simple.py
rediscli
Use with mock redis server.
$ python rediscli.py
go to http://localhost:5000/admin/rediscli/
if you want to use real redis server, then do this:
First install redis,
$ pip install redis
Modify code in
rediscli.py
# from flask_exts.views.rediscli.mock_redis import MockRedis as Redis
from redis import Redis
At last, run
python rediscli.py
demo
Default admin user is admin, password is admin.
$ flask --app demo run
fileadmin
$ flask --app fileadmin run
Bootstrap
$ flask --app bootstrap run