File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1010cd ..
1111git clone https://github.com/EasyEngine/easyengine.git easyengine --depth=1
1212cd easyengine
13+ echo ' travis_test' > VERSION
1314
1415# Copy tests to EE repo
1516rm -r features
Original file line number Diff line number Diff line change @@ -1071,7 +1071,7 @@ private function wp_download_and_config( $assoc_args ) {
10711071
10721072 EE ::log ( 'Downloading and configuring WordPress. ' );
10731073
1074- $ chown_command = "docker-compose exec php chown -R www-data: /var/www/ " ;
1074+ $ chown_command = "docker-compose exec --user=root php chown -R www-data: /var/www/ " ;
10751075 \EE \Utils \default_launch ( $ chown_command );
10761076
10771077 $ core_download_command = "docker-compose exec --user='www-data' php wp core download --locale=' " . $ this ->locale . "' " . $ core_download_arguments ;
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function generate_docker_compose_yml( array $filters = [] ) {
4747 $ php ['volumes ' ] = array (
4848 array (
4949 'vol ' => array (
50- array ( 'name ' => './app/src:/var/www/html ' ),
50+ array ( 'name ' => './app/src:/var/www/htdocs ' ),
5151 array ( 'name ' => './config/php-fpm/php.ini:/usr/local/etc/php/php.ini ' ),
5252 ),
5353 ),
@@ -82,7 +82,7 @@ public function generate_docker_compose_yml( array $filters = [] ) {
8282 );
8383 $ nginx ['volumes ' ] = array (
8484 'vol ' => array (
85- array ( 'name ' => './app/src:/var/www/html ' ),
85+ array ( 'name ' => './app/src:/var/www/htdocs ' ),
8686 array ( 'name ' => './config/nginx/default.conf:/etc/nginx/conf.d/default.conf ' ),
8787 array ( 'name ' => './logs/nginx:/var/log/nginx ' ),
8888 array ( 'name ' => './config/nginx/common:/usr/local/openresty/nginx/conf/common ' ),
Original file line number Diff line number Diff line change 55 access_log /var/log/nginx/access.log;
66 error_log /var/log/nginx/error.log;
77
8- root /var/www/html ;
8+ root /var/www/htdocs ;
99
1010 server_name {{server_name} };
1111
You can’t perform that action at this time.
0 commit comments