소스 검색

Add cache:warmup and --classmap-authoritative

tags/4.0.15.1
Steevan BARBOYON 8 년 전
부모
커밋
b713708221
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      init_benchmark.sh

+ 3
- 1
init_benchmark.sh 파일 보기

10
     [ "$?" != "0" ] && exit 1
10
     [ "$?" != "0" ] && exit 1
11
     sudo /bin/chmod -R 777 var/log
11
     sudo /bin/chmod -R 777 var/log
12
     [ "$?" != "0" ] && exit 1
12
     [ "$?" != "0" ] && exit 1
13
+
14
+    php bin/console cache:warmup
13
 }
15
 }
14
 
16
 
15
 function init() {
17
 function init() {
25
     clearCacheAndLogs
27
     clearCacheAndLogs
26
 
28
 
27
     export APP_ENV=$env
29
     export APP_ENV=$env
28
-    composer install --no-dev --optimize-autoloader
30
+    composer install --no-dev --classmap-authoritative
29
     [ "$?" != "0" ] && exit 1
31
     [ "$?" != "0" ] && exit 1
30
 
32
 
31
     if [ "$env" == "news" ]; then
33
     if [ "$env" == "news" ]; then

Loading…
취소
저장