-
Notifications
You must be signed in to change notification settings - Fork 0
/
typo3-ddev.sh
executable file
·629 lines (527 loc) · 19 KB
/
typo3-ddev.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
#!/bin/bash
#
# Version 1.1.2
#
#
# define colors
# --------------------------------------
# Black 0;30 Dark Gray 1;30
# Red 0;31 Light Red 1;31
# Green 0;32 Light Green 1;32
# Brown/Orange 0;33 Yellow 1;33
# Blue 0;34 Light Blue 1;34
# Purple 0;35 Light Purple 1;35
# Cyan 0;36 Light Cyan 1;36
# Light Gray 0;37 White 1;37
NOTE='\033[0;36m' #cyan
WARNING='\033[1;31m' #red
INPUT='\033[0;35m' #purple
SUCCESS='\033[0;32m' #green
INFO='\033[0;34m' #blue
NC='\033[0m\n' # set no color and line end
OPTIONAL_EXTENSIONS=("mask/mask" "georgringer/news")
OPTIONAL_EXTENSIONS_INSTALL=()
print_line() {
printf "${NOTE}—————————————————————${NC}"
}
#
# helper functions
# --------------------------------------
ask_continue () {
printf "${INPUT}Continue? [y/N]: ${NC}"
read -r i
case $i in
[yY])
ok=1
return;;
[nN])
ok=0
return;;
*)
printf "${WARNING}Invalid Option!${NC}"
ask_continue
;;
esac
}
# This function makes the substitutions more robust
# comes from https://stackoverflow.com/a/40167919
expandVarsStrict(){
local line lineEscaped
while IFS= read -r line || [[ -n $line ]]; do # the `||` clause ensures that the last line is read even if it doesn't end with \n
# Escape ALL chars. that could trigger an expansion..
IFS= read -r -d '' lineEscaped < <(printf %s "$line" | tr '`([$' '\1\2\3\4')
# ... then selectively reenable ${ references
lineEscaped=${lineEscaped//$'\4'{/\${}
# Finally, escape embedded double quotes to preserve them.
lineEscaped=${lineEscaped//\"/\\\"}
eval "printf '%s\n' \"$lineEscaped\"" | tr '\1\2\3\4' '`([$'
done
}
ask_typo3version_options() {
PS3="Set the desired TYPO3 version: "
printf "${INPUT}Select typo3 version:${NC}"
printf "${INPUT}9) 9.5${NC}"
printf "${INPUT}10) 10.4${NC}"
printf "${INPUT}11) 11.5${NC}"
printf "${INPUT}12) 12.4${NC}"
read -r -p "Enter version [12]: " ver
case $ver in
9)
setup_typo3version_minor="9.5";;
10)
setup_typo3version_minor="10.4";;
11)
setup_typo3version_minor="11.5";;
12)
setup_typo3version_minor="12.4";;
*)
setup_typo3version_minor="12.4";;
esac
}
ask_newbasedirectory() {
printf "${NOTE}Enter new path name (relative to current - ${INPUT}to move up use ../${NOTE}):${NC}"
read -r -p "${pwd}/" setup_basedirectory
if ! [[ $setup_basedirectory =~ ^[a-zA-Z_0-9\/\.\-]+$ ]] ; then
printf "${WARNING}Please, don't use spaces or special chars other than '_' or '-' !${NC}"
ask_newbasedirectory
fi
if [ "$(ls -A $setup_basedirectory)" ] ; then
printf "${WARNING}The target directory ${setup_basedirectory} is not empty! Please select a different path.${NC}"
ask_newbasedirectory
fi
cur_dir="${pwd}/"
mkdir -p $setup_basedirectory
abs_setup_basedirectory="$(cd "$(dirname "${cur_dir}/${setup_basedirectory}")"; pwd)/$(basename "${cur_dir}/${setup_basedirectory}")"
printf "${SUCCESS}Created directory ${abs_setup_basedirectory} !${NC}"
cd "${cur_dir}"
}
ask_projectname() {
printf "${INPUT}Set the name of the client or project in lowercase and no spaces.${NC}"
printf "${INPUT}Project name:${NC}"
read -r setup_projectname
if [[ $setup_projectname =~ [A-Z] ]] ; then
printf "${WARNING}Only use lowercase letters!${NC}"
ask_projectname
fi
if ! [[ $setup_projectname =~ ^[a-z_0-9\-]+$ ]] ; then
printf "${WARNING}Don't use spaces or special chars other than underscore!${NC}"
ask_projectname
fi
return
}
ask_namespace() {
printf "${INPUT}Please enter vendor name (used in namespace) of the client or project:${NC}"
read -r -p "Enter vendor [ITSC]: " setup_namespace
setup_namespace=${setup_namespace:-ITSC}
if ! [[ $setup_namespace =~ ^[a-zA-Z0-9]+$ ]] ; then
printf "${WARNING}Please, don't use spaces or special characters!${NC}"
ask_namespace
fi
setup_namespace_lowercase=$(tr '[:upper:]' '[:lower:]' <<< $setup_namespace)
return
}
ask_port() {
printf "${INPUT}Set the port on which .ddev will be accessed.${NC}"
printf "${INPUT}Port [8080] : ${NC}"
read -r setup_port
# check if empty, then use default port
if [ -z $setup_port ] ; then
setup_port="8080"
fi
if ! [[ $setup_port =~ ^[0-9]+$ ]] ; then
printf "${WARNING}Invalid Option!${NC}"
ask_port
fi
return
}
ask_confirmsetup() {
printf "${NOTE}Your setup is:${NC}"
print_line
printf "${NOTE}TYPO3 Version: ${SUCCESS}${setup_typo3version_minor}${NC}"
printf "${NOTE}Directory for project and ddev: ${SUCCESS}${abs_setup_basedirectory}${NC}"
printf "${NOTE}Project name: ${SUCCESS}${setup_projectname}${NC}"
printf "${NOTE}Project namespace: ${SUCCESS}${setup_namespace}${NC}"
printf "${NOTE}Port: ${SUCCESS}${setup_port}${NC}"
if [ $install_bootstrap = true ] ; then
printf "${NOTE}Install extension bk2k/bootstrap-package: ✅${NC}"
fi
display_optional_extensions
printf "${NOTE}We will add few sample pages: ✅${NC}"
print_line
ask_continue
if [[ $ok =~ 0 ]] ; then
ask_typo3version_options
ask_newbasedirectory
ask_projectname
ask_namespace
ask_port
ask_bootstrap_question
ask_optional_extensions
ask_confirmsetup
fi
return
}
ask_bootstrap_question () {
printf "${INPUT}Do you want to install bk2k/bootstrap-package package? [y/N] : ${NC}"
read -r i
case $i in
[yY])
install_bootstrap=true
return;;
*)
install_bootstrap=false
return;;
esac
}
ask_repository_question () {
printf "${INPUT}What is the remote repository url?${NC}"
printf "${INPUT}You can skip it by pressing enter${NC}"
printf "${INPUT}If you provide a url, we'll initialize the repo${NC}"
printf "${INPUT}and set it as upstream${NC}"
read -r repository_url
}
# iterating over OPTIONAL_EXTENSIONS and
# assigning to OPTIONAL_EXTENSIONS_INSTALL array
ask_optional_extensions () {
for EXTENSION in "${OPTIONAL_EXTENSIONS[@]}"
do
ask_optional_extension $EXTENSION
done
}
ask_optional_extension () {
printf "${INPUT}Do you want to install $1 package? [y/N] : ${NC}"
read -r i
case $i in
[yY])
OPTIONAL_EXTENSIONS_INSTALL+=($1)
return;;
*)
return;;
esac
}
# display only for confirmation
display_optional_extensions () {
for EXTENSION in "${OPTIONAL_EXTENSIONS_INSTALL[@]}"
do
printf "${NOTE}Install extension $EXTENSION: ✅${NC}"
done
}
# install extensions in OPTIONAL_EXTENSIONS_INSTALL
install_optional_extensions () {
for EXTENSION in "${OPTIONAL_EXTENSIONS_INSTALL[@]}"
do
printf "${NOTE}Installing optional extension: $EXTENSION${NC}${NC}"
if [ "${EXTENSION}" = "mask/mask" ] ; then
if [ "${setup_typo3version_minor}" = "9.5" ] ; then
sed -i "" 's|^\ "typo3/cms-core\".*|&,\n "mask\/mask\": \"^4\"|' packages/sitepackage/composer.json
sed -i "" "s|^\ \'typo3\'.*|&,\n \'mask\' => \'\'|" packages/sitepackage/ext_emconf.php
sleep 1
ddev composer req $EXTENSION:^4 --no-interaction
else
sed -i "" 's|^\ "typo3/cms-core\".*|&,\n "mask\/mask\": \"^7\"|' packages/sitepackage/composer.json
sed -i "" "s|^\ \'typo3\'.*|&,\n \'mask\' => \'\'|" packages/sitepackage/ext_emconf.php
sleep 1
ddev composer req $EXTENSION:^7 --no-interaction
fi
elif [ "${EXTENSION}" = "georgringer/news" ] ; then
if [ "${setup_typo3version_minor}" = "9.5" ] ; then
ddev composer req $EXTENSION:^8 --no-interaction
else
ddev composer req $EXTENSION --no-interaction
fi
else
ddev composer req $EXTENSION --no-interaction
fi
done
}
generate_password() {
print_line
printf "${NOTE}Generating admin password${NC}"
admin_password=`openssl rand -base64 12`
printf "${NOTE}Password generated 🔐${NC}"
print_line
return
}
#
# init
# --------------------------------------
printf "${NOTE}Preparing to spin up a new TYPO3 website with ddev and 🔐 typo3-secure-web${NC}"
printf "${NOTE}We will ask you a series of questions about your project,${NC}"
printf "${NOTE}prepare a config, and launch it.${NC}"
ask_continue
if [[ $ok =~ 0 ]] ; then
printf "${WARNING}exit!${NC}"
exit 1
fi
# check if .ddev is installed before starting this process
if command -v ddev &> /dev/null ; then
printf "${SUCCESS}ddev found${NC}"
else
printf "${WARNING}No ddev installed!${NC}"
exit 1
fi
# check if /Applications/Docker.app exists before starting this process
docker_path="/Applications/Docker.app"
if [ -d $docker_path ]; then
printf "${SUCCESS}Docker found${NC}"
# Start docker app
if ! docker info > /dev/null 2>&1; then
printf "${NOTE} - Startup docker ${NC}"
open /Applications/Docker.app --background
fi
else
printf "${WARNING}${docker_path} not found!${NC}"
printf "${WARNING}Make sure Docker is installed!${NC}"
exit 1
fi
#
# get variables
# --------------------------------------
pwd=$(pwd)
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
ask_repository_question
ask_typo3version_options
ask_newbasedirectory
ask_projectname
ask_namespace
ask_port
ask_bootstrap_question
ask_optional_extensions
ask_confirmsetup
#
# start to setup .ddev
# --------------------------------------
printf "${SUCCESS}Starting to setup .ddev!${NC}"
printf "${NOTE} - Switching to base directory ./${abs_setup_basedirectory} ${NC}"
cd "${abs_setup_basedirectory}"
printf "${NOTE} - Initializing ddev ${NC}"
ddev config --project-name $setup_projectname
ddev config --project-type php
ddev config --http-port $setup_port
ddev config --docroot public --create-docroot
ddev config --project-type typo3
ddev config --php-version 8.1
ddev config --web-environment="TYPO3_CONTEXT=Development/Local"
printf "${NOTE} - Setup project directories ${NC}"
touch .editorconfig
touch .gitignore
mkdir .vscode
touch .vscode/extensions.json
mkdir -p packages
cd packages
printf "${SUCCESS} - base file structure created${NC}"
mkdir -p sitepackage
cd sitepackage
mkdir -p Classes
mkdir -p Classes/Hooks
mkdir -p Classes/ViewHelpers
mkdir -p Configuration
mkdir -p Configuration/TCA
mkdir -p Configuration/TCA/Overrides
mkdir -p Configuration/RTE
mkdir -p Configuration/TypoScript
mkdir -p Configuration/TypoScript/Extensions
mkdir -p Configuration/TypoScript/Extensions/FluidStyledContent
mkdir -p Configuration/TypoScript/Extensions/KeSearch
mkdir -p Configuration/TypoScript/Includes
mkdir -p Resources
mkdir -p Resources/Private
mkdir -p Resources/Private/Templates
mkdir -p Resources/Private/Partials
mkdir -p Resources/Private/Layouts
mkdir -p Resources/Private/Language
mkdir -p Resources/Private/Extensions
mkdir -p Resources/Public
mkdir -p Resources/Public/dist
mkdir -p Resources/Public/Icons
mkdir -p Resources/Public/JavaScript
mkdir -p Resources/Public/RTE
touch composer.json
touch ext_emconf.php
touch ext_tables.php
touch ext_localconf.php
cp "${SCRIPT_DIR}/templates/CustomRte.yaml" Configuration/RTE/CustomRte.yaml
cp "${SCRIPT_DIR}/templates/CustomRte.css" Resources/Public/RTE/CustomRte.css
cp -r "${SCRIPT_DIR}/templates/TsConfig" Configuration/
touch Configuration/TypoScript/constants.typoscript
echo -en '\n' > Configuration/TypoScript/constants.typoscript
touch Configuration/TypoScript/setup.typoscript
echo -en '\n' > Configuration/TypoScript/setup.typoscript
touch Configuration/TypoScript/Includes/config.typoscript
touch Configuration/TypoScript/Includes/page.typoscript
touch Configuration/TypoScript/Includes/getContent.typoscript
touch Resources/Private/Language/locallang.xlf
touch Resources/Private/Language/locallang_db.xlf
touch Resources/Private/Language/locallang_be.xlf
printf "${SUCCESS} - file structure of sitepackage extension created${NC}"
# write composer.json
expandVarsStrict< "${SCRIPT_DIR}/templates/composer.json" > composer.json
printf "${SUCCESS} - composer.json of base extension created${NC}"
# write ext_emconf.php
expandVarsStrict< "${SCRIPT_DIR}/templates/ext_emconf.php.txt" > ext_emconf.php
printf "${SUCCESS} - ext_emconf.php of base extension created${NC}"
#write ext_localconf.php
expandVarsStrict< "${SCRIPT_DIR}/templates/ext_localconf.php.txt" > ext_localconf.php
printf "${SUCCESS} - ext_localconf.php of base extension created${NC}"
#write typoscript templates
printf "${SUCCESS} - Adding typoscript templates${NC}"
if [ $install_bootstrap = true ] ; then
sed -i "" -e $'1 i\\\n'"@import 'EXT:bootstrap_package/Configuration/TypoScript/constants.typoscript'" Configuration/TypoScript/constants.typoscript
expandVarsStrict< "${SCRIPT_DIR}/templates/setup.bootstrap.typoscript" > Configuration/TypoScript/setup.typoscript
else
expandVarsStrict< "${SCRIPT_DIR}/templates/setup.sitepackage.typoscript" > Configuration/TypoScript/setup.typoscript
fi
printf "${SUCCESS} - Configuration/TypoScript/setup.typoscript of base extension created${NC}"
cp "${SCRIPT_DIR}/templates/editorconfig" "${abs_setup_basedirectory}/.editorconfig"
printf "${SUCCESS} - added .editorconfig ${NC}"
cd "${abs_setup_basedirectory}"
/bin/cat <<EOM >.gitignore
node_modules
npm-debug.log
.DS_Store
.vscode/*
.idea
# TYPO3
ENABLE_INSTALL_TOOL
_processed_
uploads/*
!/public/*
/public/index.php
/public/typo3
/public/typo3conf
/public/fileadmin
/public/typo3temp
/private/index.php
/private/typo3conf/ext
/private/typo3
/private/typo3temp
/private/fileadmin
/var/
/vendor/
EOM
printf "${SUCCESS} - added .gitignore ${NC}"
touch composer.json
# write composer.json
expandVarsStrict< "${SCRIPT_DIR}/templates/main-composer.json" > composer.json
printf "${SUCCESS} - Main composer.json of the project created${NC}"
printf "${NOTE}Starting composer install${NC}"
printf "${WARNING}This may take a while!${NC}"
printf "${WARNING}Keep calm and have a coffee!${NC}"
ddev composer install --no-interaction
printf "${NOTE}Installing additional extensions${NC}"
if [ "${setup_typo3version_minor}" = "11.5" ] ; then
ddev config --php-version 8.0
ddev composer req helhum/typo3-console --no-interaction
ddev composer req tpwd/ke_search --no-interaction
printf "${NOTICE} We cannot install fluidtypo3/vhs${NC}"
printf "${NOTICE} as there are no compatible versions yet${NC}"
elif [ "${setup_typo3version_minor}" = "10.4" ] ; then
# we need to specify typo3-console version
ddev config --php-version 7.4
ddev composer req helhum/typo3-console:^6 --no-interaction
ddev composer req fluidtypo3/vhs --no-interaction
ddev composer req tpwd/ke_search --no-interaction
else
# we need to specify typo3-console version
ddev composer req helhum/typo3-console:^5 --no-interaction
ddev composer req fluidtypo3/vhs --no-interaction
ddev composer req tpwd/ke_search:^4 --no-interaction
fi
if [ $install_bootstrap = true ] ; then
if [ "${setup_typo3version_minor}" = "9.5" ] ; then
ddev composer req bk2k/bootstrap-package:^11 --no-interaction
else
ddev composer req bk2k/bootstrap-package --no-interaction
fi
fi
install_optional_extensions
#
# Prepare TYPO3
# --------------------------------------
printf "${NOTE}Preparing TYPO3${NC}"
cd private
touch FIRST_INSTALL
cd typo3conf
touch AdditionalConfiguration.php
/bin/cat <<EOM >AdditionalConfiguration.php
<?php
\$GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] = '.*';
\$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default'] = [
'dbname' => 'db',
'host' => 'db',
'password' => 'db',
'port' => '3306',
'user' => 'db',
'driver' => 'mysqli',
'charset' => 'utf8mb4',
'tableoptions' => [
'charset' => 'utf8mb4',
'collate' => 'utf8mb4_unicode_ci',
],
];
// This mail configuration sends all emails to mailhog
\$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = 'smtp';
\$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_server'] = 'localhost:1025';
\$GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask'] = '*';
\$GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] = 1;
EOM
printf "${NOTE}Starting up ddev${NC}"
printf "${WARNING}Docker must be running at this point!${NC}"
cd "${abs_setup_basedirectory}"
ddev start
#
# Install TYPO3
# --------------------------------------
generate_password
printf "${NOTE}Installing TYPO3${NC}"
ddev exec ./vendor/bin/typo3cms install:setup --no-interaction --admin-user-name admin --admin-password $admin_password --database-user-name db --database-user-password db --site-name ${setup_projectname}
ddev exec ./vendor/bin/typo3cms install:fixfolderstructure
# add template record
ddev exec mysql --user=db --password=db db << EOF
INSERT INTO sys_template (pid, title, root, clear, constants, config) VALUES (1, 'Bootstrap Package', 1, 3, "@import 'EXT:sitepackage/Configuration/TypoScript/constants.typoscript'", "@import 'EXT:sitepackage/Configuration/TypoScript/setup.typoscript'");
EOF
printf "${SUCCESS}Created typoscript record in sys_template table${NC}"
#
# Activate extensions
# --------------------------------------
printf "${NOTE}Activating extensions${NC}"
#ddev exec ./vendor/bin/typo3cms install:generatepackagestates
ddev exec ./vendor/bin/typo3cms install:extensionsetupifpossible
#
# Add home page to db table:pages
# --------------------------------------
printf "${NOTE}Adding sample pages${NC}"
ddev exec mysql --user=db --password=db db << EOF
TRUNCATE pages;
INSERT INTO pages (\`pid\`, \`title\`, \`slug\`, \`doktype\`, \`is_siteroot\`) VALUES ('0', 'Home', '/', '1', '1'),('1', 'About', '/about', '1', '0'),('1', 'Page 1', '/page-1', '1', '0'),('1', 'Page 2', '/page-2', '1', '0');
EOF
if [ $install_bootstrap = true ] ; then
ddev exec mysql --user=db --password=db db << EOF
UPDATE pages
SET backend_layout = "pagets__default", backend_layout_next_level = "pagets__2_columns"
WHERE uid = 1;
EOF
printf "${NOTE}Updated layout fields for sample pages${NC}"
fi
mkdir -p "${abs_setup_basedirectory}/config/sites/${setup_projectname}"
expandVarsStrict< "${SCRIPT_DIR}/templates/siteConfiguration.yaml" > "${abs_setup_basedirectory}/config/sites/${setup_projectname}/config.yaml"
printf "${NOTE}Created site configuration${NC}"
if [ ! -z $repository_url ] ; then
printf "${NOTE}Setting up git${NC}"
git init
git add .
git commit -m 'Initial commit'
git remote add upstream "${repository_url}"
git push --set-upstream upstream main
fi
#
# final instructions after install
# --------------------------------------
ddev describe
printf "${SUCCESS}Setup complete!${NC}"
printf "${NOTE}Open the ddev URL in a browser${NC}"
printf "${NOTE}Admin user is: admin${NC}"
printf "${NOTE}Admin password is: ${admin_password} ${NC}"
printf "${NOTE}and follow the TYPO3 install process.${NC}"
printf "${SUCCESS}Have fun with your new ddev env!${NC}"
exit 1