maple-blog icon indicating copy to clipboard operation
maple-blog copied to clipboard

Error: No such command "db".

Open Lwve opened this issue 6 years ago • 1 comments

run: python3 runserver.py db init

re:

Usage: runserver.py [OPTIONS] COMMAND [ARGS]... Try "runserver.py --help" for help.

Error: No such command "db".

runserver.py line 27:from maple.extension import cache, db no such files? 是因为extension没有包文件?

Lwve avatar Jul 16 '19 23:07 Lwve

db command is provided by flask_migrate, If you want to use python3 runserver.py db init, please install it.

honmaple avatar Jul 18 '19 04:07 honmaple