-2

这只是“它工作”的服务器屏幕。我正在尝试做 GettingStartedWithDjango 教程。是的,我是个白痴。

(blog-venv)vagrant@precise32:/vagrant/projects/micrblog$ git push heroku master 警告:将 IP 地址“50.19.85.156”的 RSA 主机密钥永久添加到已知主机列表中。计数对象:11,完成。压缩对象:100% (8/8),完成。写入对象:100% (11/11),3.60 KiB,完成。总计 11(增量 0),重复使用 0(增量 0)

-----> 检测到 Python 应用程序 -----> 未提供 runtime.txt;假设 python-2.7.4。-----> 准备 Python 运行时 (python-2.7.4) -----> 安装 Distribute (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 声明类型 -> web

-----> 编译后的 slug 大小:29.2MB -----> 正在启动...完成,v6 http://fathomless-mountain-2524.herokuapp.com部署到 Heroku

到 git@heroku.com:fathomless-mountain-2524.git * [new branch]
master -> master (blog-venv)vagrant@precise32:/vagrant/projects/micrblog$ heroku run /bin/bash 运行/bin/bash附加到终端。 .. up, run.3161 ~ $ pip freeze Django==1.4.3 argparse==1.2.1 分发==0.6.36 wsgiref==0.1.2"

4

1 回答 1

0

如果您查看Heroku 上的 Django 入门教程,它会指出:

在这里,一台测功机正在运行。

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

$ heroku open

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

您应该会看到令人满意的“它成功了!” Django 欢迎页面。

我从您的链接中看到了这一点,所以一切正常。

于 2013-05-07T18:42:30.140 回答