flask入门教程(21) - heroku其它知识

os.environ 有些配置咱们能够编变到heroku自带的config里面去,并用os.environ访问:web heroku config:set <变量名>=<变量值> 数据库 数据库的话,咱们要变成postgresql数据库,使用heroku生成数据库:sql heroku addons:create heroku-postgresql:hobby-dev 而后咱们能够输入:数据库 h
相关文章
相关标签/搜索