Yii 2 初学者工具包 - 无法找到环境文件:C:\Users\fanto\....\myproject3.com\.env 当以 `composer 运行-script docker:start 启动时` 在 docker
Yii 2 starter kit - Couldn't find env file: C:\Users\fanto\....\myproject3.com\.env when starting with `composer run-script docker:start` in docker
Yii 2 初学者工具包 - 从 composer run-script docker:start
开始时出错
Couldn't find env file: C:\Users\fanto\ferratum\wapp\myproject3.com\.env
Script docker-compose up --force-recreate -d handling the docker:start event returned with error code 1
.
项目必须使用不同的参数启动 - 使用 build 参数,
与最初一样,该项目尚未构建供应商库和准备环境。文档中有错误
(
https://github.com/yii2-starter-kit/yii2-starter-kit/pull/742
https://github.com/yii2-starter-kit/yii2-starter-kit/commit/9415b
)
从
更改初始命令
composer run-script docker:
start
到
composer run-script docker:
build
同时初始化环境变量
Yii 2 初学者工具包 - 从 composer run-script docker:start
Couldn't find env file: C:\Users\fanto\ferratum\wapp\myproject3.com\.env
Script docker-compose up --force-recreate -d handling the docker:start event returned with error code 1
.
项目必须使用不同的参数启动 - 使用 build 参数, 与最初一样,该项目尚未构建供应商库和准备环境。文档中有错误
( https://github.com/yii2-starter-kit/yii2-starter-kit/pull/742
https://github.com/yii2-starter-kit/yii2-starter-kit/commit/9415b )
从
更改初始命令composer run-script docker:
start
到
composer run-script docker:
build
同时初始化环境变量