Heroku不会加载我的venv,也不会让我打开我的应用程序

时间:2013-05-07 18:06:34

标签: django heroku python-venv

这简直就是“It working”服务器屏幕。我正在尝试使用GettingStartedWithDjango教程。是的,我是个白痴。

  

(blog-venv)vagrant @ precise32:/ vagrant / projects / micrblog $ git push   heroku master警告:永久添加IP的RSA主机密钥   将'50 .19.85.156'发送到已知主机列表。计数对象:   11,完成了。压缩对象:100%(8/8),完成。书写对象:100%   (11/11),3.60 KiB,完成了。总计11(delta 0),重用0(delta 0)

     

- - - - >检测到Python应用   ----->没有提供runtime.txt;假设python-2.7.4。   ----->准备Python运行时(python-2.7.4)   ----->安装分发(0.6.36)   ----->安装Pip(1.3.1)   ----->使用Pip安装依赖项(1.3.1)          下载/解压缩Django == 1.4.3(来自-r requirements.txt(第1行))            运行包Django的setup.py egg_info

   Downloading/unpacking argparse==1.2.1 (from -r requirements.txt (line 2))
     Running setup.py egg_info for package argparse

       no previously-included directories found matching 'doc/_build'
       no previously-included directories found matching 'env24'
       no previously-included directories found matching 'env25'
       no previously-included directories found matching 'env26'
       no previously-included directories found matching 'env27'
   Installing collected packages: Django, argparse
     Running setup.py install for Django
       changing mode of build/scripts-2.7/django-admin.py from 600 to 755

       changing mode of /app/.heroku/python/bin/django-admin.py to 755
     Running setup.py install for argparse

       no previously-included directories found matching 'doc/_build'
       no previously-included directories found matching 'env24'
       no previously-included directories found matching 'env25'
       no previously-included directories found matching 'env26'
       no previously-included directories found matching 'env27'
   Successfully installed Django argparse
   Cleaning up...
     

- - - - >收集静态文件          已复制0个静态文件。

     

- - - - >发现流程类型          Procfile声明类型 - >网络

     

- - - - >编制的段塞尺寸:29.2MB   ----->启动...完成,v6          http://fathomless-mountain-2524.herokuapp.com部署到Heroku

     

至git@heroku.com:fathomless-mountain-2524.git * [新分支]
  主人 - >主   (blog-venv)vagrant @ exact32:/ vagrant / projects / micrblog $ heroku run   / bin / bash运行/bin/bash附加到终端... up,run.3161~ $   pip freeze Django == 1.4.3 argparse == 1.2.1 distribute == 0.6.36   ==的wsgiref 0.1.2"

1 个答案:

答案 0 :(得分:0)

如果您查看Getting Started with Django on Heroku教程,请说明:

  

在这里,一个dyno正在运行。

     

我们现在可以在我们的浏览器中访问该应用程序并打开heroku。

     

$ heroku open

     

Opening simple-spring-9999.herokuapp.com... done

     

你应该看到令人满意的“它工作了!”Django欢迎页面。

我从your link看到了这一点,所以一切正常。