小编Mad*_*nth的帖子

Django没有在heroku上运行

按照"在heroku/ceadar上开始使用Django"这封信的指南,最后设法解决了部署应用程序的一些问题

Successfully installed django psycopg2
 Cleaning up...
 Discovering process types
 Procfile declares types -> (none)
 Compiled slug size is 8.0MB
 Launching... done, v4
 http://<watever>.herokuapp.com deployed to Heroku
Run Code Online (Sandbox Code Playgroud)

指南说网络服务器应该启动.但是heroku ps显示没有进程,显然页面没有加载.

heroku日志的尾部:

2012-01-19T10:28:29+00:00 heroku[web.1]: State changed from created to down
2012-01-19T10:28:30+00:00 heroku[web.1]: State changed from down to created
2012-01-19T10:28:32+00:00 heroku[slugc]: Slug compilation finished
2012-01-19T10:30:32+00:00 heroku[router]: Error H99 (Platform error) -> GET <watever>
.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=


(venv) C:\Python27\facebook\venv\myapp>heroku ps
Process  State  Command
-------  -----  -------
Run Code Online (Sandbox Code Playgroud)

我应该明确地启动网络服务器吗?我在做错了吗?

django heroku

7
推荐指数
2
解决办法
7184
查看次数

标签 统计

django ×1

heroku ×1