소스 검색

Update setup with no interaction

The setup is ran within the container, so interaction is not possible.
To not block the setup, --no-interaction should be added.

For example, if an existing project with stores in the config.php get's installed with a clean database, Magento will ask if it should create those store views as well.
The no-interaction defaults to yes in this case.
Brent Robert 3 년 전
부모
커밋
57e3a53fc1
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compose/bin/setup

+ 2 - 1
compose/bin/setup

@@ -72,7 +72,8 @@ bin/clinotty bin/magento setup:install \
   --search-engine=elasticsearch7 \
   --elasticsearch-host=$ES_HOST \
   --elasticsearch-port=$ES_PORT \
-  --use-rewrites=1
+  --use-rewrites=1 \
+  --no-interaction
 
 echo "Copying files from container to host after install..."
 bin/copyfromcontainer --all