操作系统: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
答案 0 :(得分:7)
在Procfile中添加此dyno
local: php -S localhost:8080
并使用此dyno在本地运行heroku 通过此命令启动heroku本地服务器 -
heroku local local