首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >多构建包无法工作heroku

多构建包无法工作heroku
EN

Stack Overflow用户
提问于 2015-06-25 15:05:11
回答 1查看 489关注 0票数 0

我已经安装了服务器,而且构建包正在工作.我正试图以同样的方式设置一个新的服务器,但是构建包不能正常工作。

我使用的构建包是这个https://github.com/ddollar/heroku-buildpack-multi.git

当我将提交提交到旧服务器时,如下所示

代码语言:javascript
复制
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.githttps://github.com/heroku/heroku-buildpack-python)

代码语言:javascript
复制
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。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-08-12 16:18:57

Heroku现在有了一流的多构建包支持-请参阅https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31054086

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档