Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行到flask --help的时候无法找到createdb #34

Open
featherrrrrr opened this issue Jul 26, 2021 · 2 comments
Open

运行到flask --help的时候无法找到createdb #34

featherrrrrr opened this issue Jul 26, 2021 · 2 comments

Comments

@featherrrrrr
Copy link

作者你好,我是配置小白,按照您的操作运行到第8步,无法找到创建数据库命令,之前的修改数据库连接配置处我按照社区的人给的建议修改的,不知道能怎么算成功连接。请问有什么比较清晰的安装步骤吗?或者有其他教学步骤吗?谢谢分享,万分感谢。

@CTF-MissFeng
Copy link
Owner

python项目已不维护,该项目只是练手,存在很多bug;

若设置 export FLASK_APP=app.py:APP环境变量不生效,则手动将创建数据库、账户的函数运行;直接在app.py里调用这两个函数

1

@featherrrrrr
Copy link
Author

作者您好,我在flask run中出现了这样的错误,请问这要怎么解决呢
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants