我已经安装了服务器,而且构建包正在工作.我正试图以同样的方式设置一个新的服务器,但是构建包不能正常工作。
我使用的构建包是这个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。
发布于 2015-08-12 16:18:57
Heroku现在有了一流的多构建包支持-请参阅https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app
https://stackoverflow.com/questions/31054086
复制相似问题