我如何在本地运行在Heroku中部署的PHP项目?

问题描述 投票:1回答:1

操作系统:Windows。>>

C:\Users\vigne>cd project
C:\Users\vigne\project>heroku local // Directory of cloned project from GitHub

我收到此:

[WARN] No ENV file found
5:11:01 PM web.1 |  'vendor' is not recognized as an internal or external command,
5:11:01 PM web.1 |  operable program or batch file.
[DONE] Killing all processes with signal  null
5:11:01 PM web.1 Exited with exit code 1

操作系统:Windows。 C:\ Users \ vigne> cd项目C:\ Users \ vigne \ project> heroku local //从GitHub克隆的项目目录我收到此消息:[WARN]找不到下午5:11:01 web.1 |的ENV文件。 ..

php heroku heroku-toolbelt heroku-postgres heroku-api
1个回答
7
投票

将此测功机添加到您的Procfile中

© www.soinside.com 2019 - 2024. All rights reserved.