Skip to content

Commit 0076d2d

Browse files
author
Tobias Lückel
committed
Added the steps to copy the php and nginx config files to the project to be able to modify them per project
1 parent ee16216 commit 0076d2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/sdTest.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,19 @@ function echo_configuration {
5656
function init_environment {
5757
echo "Prepare directories"
5858
mkdir -p ${PROJECT_DIR}/etc/test
59+
mkdir -p ${PROJECT_DIR}/etc/test/nginx
60+
mkdir -p ${PROJECT_DIR}/etc/test/php
5961

6062
echo "Copying testing README"
6163
cp ${PACKAGE_DIR}/README.md ${PROJECT_DIR}/README.TESTING.md
6264

6365
echo "Copying docker-compose.yml to be able to easily modify it for special needs"
6466
cp ${PACKAGE_DIR}/docker-compose.yml ${PROJECT_DIR}/etc/test/docker-compose.yml
6567

68+
echo "Copying config files to be able to easily modify it for special needs"
69+
cp ${PACKAGE_DIR}/php/* ${PROJECT_DIR}/etc/test/php
70+
cp ${PACKAGE_DIR}/nginx/* ${PROJECT_DIR}/etc/test/nginx
71+
6672
echo "You can find additional information in the testing README, see 'README.TESTING.md'"
6773
}
6874

0 commit comments

Comments
 (0)