2013-07-24 35 views
3

这里是我的项目文件如何在Heroku中运行webapp2(appengine)?

Procfile

web: python main.py 

requirement.txt

webapp2==2.3 

main.py

import webapp2 

class MainHandler(webapp2.RequestHandler): 
    def get(self): 
     self.response.write("hello") 


app = webapp2.WSGIApplication([ 
    ('/', MainHandler) 
], debug=True) 

还是Heroku的给出了一个应用程序错误

我的项目出了什么问题?

回答

相关问题