Giter Club home page Giter Club logo

Comments (9)

greyli avatar greyli commented on August 19, 2024

请提供相关代码,比如 Procfile 的内容。

from sayhello.

dbchung avatar dbchung commented on August 19, 2024

from sayhello.

dbchung avatar dbchung commented on August 19, 2024

Procfile:
web: gunicorn gettingstarted.wsgi

Pipfile:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true

[packages]
django = ""
gunicorn = "
"
django-heroku = ""
requests = "
"

[requires]
python_version = "3.6"

from sayhello.

greyli avatar greyli commented on August 19, 2024

你的 Procfile 和 Pipfile 的内容都和这个项目没有关联。

from sayhello.

dbchung avatar dbchung commented on August 19, 2024

請問要如何修改呢?

from sayhello.

dbchung avatar dbchung commented on August 19, 2024

我試過bluelog 在localhost可運行,但在heroku也無法運行

from sayhello.

greyli avatar greyli commented on August 19, 2024

你需要编写正确的 Procfile,而 Pipfile 则应该沿用项目原有的文件。如果你是 《Flask Web 开发实战》的读者,请参考第 14.6 小节内容。否则请在网络上搜索 “Flask Heroku 部署”,阅读相关教程了解。

如果 Bluelog 在 Heroku 上无法运行,可以创建新的 Issue 反馈。

from sayhello.

dbchung avatar dbchung commented on August 19, 2024

謝謝,我正在讀您的大作,寫得真好。

from sayhello.

greyli avatar greyli commented on August 19, 2024

谢谢认可 :)

顺便说一句,对这个项目来说,Procfile 应该类似这样:

web: gunicorn sayhello:app --log-file -

from sayhello.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.