【发布时间】:2015-09-12 06:44:06
【问题描述】:
我已经设置了服务器,并且构建包正在运行...我正在尝试以完全相同的方式设置新服务器,但构建包无法正常运行。
我使用的构建包是这个https://github.com/ddollar/heroku-buildpack-multi.git
当我将提交推送到旧服务器时,看起来像这样
remote: -----> Fetching custom git buildpack... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/cyberdelia/heroku-geo-buildpack.git
remote: =====> Detected Framework: geos/gdal/proj
remote: Using geos version: 3.4.2
remote: Using gdal version: 1.11.1
remote: Using proj version: 4.8.0_1
remote: -----> Vendoring geo libraries done
remote: =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-python
remote: =====> Detected Framework: Python
remote: -----> Installing dependencies with pip
但是当我推送到新服务器时,它看起来像这样并且没有使用正确的构建包(https://github.com/cyberdelia/heroku-geo-buildpack.git 和 https://github.com/heroku/heroku-buildpack-python)
remote: -----> Fetching custom git buildpack... done
remote: -----> geos/gdal/proj app detected
remote: Using geos version: 3.4.2
remote: Using gdal version: 1.11.1
remote: Using proj version: 4.8.0_1
remote: -----> Fetching and vendoring geos
remote: -----> Fetching and vendoring gdal
remote: -----> Fetching and vendoring proj
remote: -----> Vendoring geo libraries done
remote: -----> Discovering process types
remote: Procfile declares types -> web
这可能是因为我在每台服务器上使用不同版本的构建包,因为我没有在 github 上指定版本?如果是这种情况,我怎么知道我在旧服务器上使用的是哪个版本,以便正确设置新服务器?...新服务器肯定不工作,甚至没有安装 pip。
【问题讨论】:
-
我遇到了这个问题,请问您是如何解决的?
标签: python git heroku buildpack