为什么要在步骤“添加BUILD_ENV构build环境…”中挂起?
CMS OpenCart上有一个项目库。
以下文件是为他创build的:
.buildpacks:
https://github.com/heroku/heroku-buildpack-php.git
composer.json:
{ "require": { "php": "~5.6.0" }, "scripts": { "post-install-cmd": [ "chmod -R 777 system/storage/cache/", "chmod -R 777 system/storage/download/", "chmod -R 777 system/storage/logs/", "chmod -R 777 system/storage/modification/", "chmod -R 777 system/storage/session/", "chmod -R 777 system/storage/upload/", "chmod -R 777 system/storage/vendor/", "chmod -R 777 image/", "chmod -R 777 image/cache/", "chmod -R 777 image/catalog/", "chmod -R 777 config.php", "chmod -R 777 admin/config.php" ] } }
Procfile:
web: vendor/bin/heroku-php-nginx
我做了承诺。 然后我执行命令:
git push dokku master
一切都在这一刻挂起:
Counting objects: 3, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 273 bytes | 136.00 KiB/s, done. Total 3 (delta 1), reused 0 (delta 0) -----> Cleaning up... -----> Building my-app from herokuish... -----> Adding BUILD_ENV to build environment...
为什么发生这种情况? 为什么这个过程还没有进行呢?