我是python+flask的新手,想用烧瓶来创建一个网站。IDE是VisualStudio2017,我可以用flasky.py作为启动文件成功地运行这个程序。但是在CLI中,我经常会出现这个错误。import Migrate这些守则是:from os import(os.getenv('FLASK_CONFIG
在我的烧瓶应用程序中,我在本地运行命令export FLASK_CONFIG='development'来运行应用程序。但是现在在heroku中,当我运行命令heroku run init时,得到我知道应该导入导出烧瓶_CONFIG=‘’的错误,但是在heroku中我该如何做呢?错误:
(venv)peg@peg:~/Fast-monks$ heroku run pythonm