Workshop at TYPO3 Developer Days 2018. Goal is to have a working ddev setup with a simple TYPO3 installation. A quick look in the extensive possibilities is also part of the presentation.
8. REQUIREMENTS
Docker version 17.05 or higher
Docker compose 1.10.0 or higher
macOS Sierra and higher
Windows 10 Pro (Home recently supported)
Linux (Ubuntu 14.04+, Debian Jessie+, Fedora 25+, ...)
23-06-2018 ddev: docker made easy 8
24. DEMO PROJECT
23-06-2018 ddev: docker made easy 24
Creating a new ddev project config in the current directory (D:t3dd18ddevproject)
Once completed, your configuration will be written to D:t3dd18ddevproject.ddev
config.yaml
Project name (ddevproject):
The docroot is the directory from which your site is served. This is a relative path
from your project root (D:t3dd18ddevproject)
You may leave this value blank if your site files are in the project root
Docroot Location (current directory):
Found a php codebase at D:t3dd18ddevproject.
Project Type [php, drupal6, drupal7, drupal8, wordpress, typo3, backdrop] (php):
typo3
TYPO3 does not seem to have been set up yet, missing LocalConfiguration.php (D:
t3dd18ddevprojecttypo3confAdditionalConfiguration.php)
Generating LocalConfiguration.php file for database connection.
Unable to create settings file: Failed to write TYPO3 AdditionalConfiguration.php
file: chmod D:t3dd18ddevprojecttypo3conf: The system cannot find the file
specified.
Configuration complete. You may now run 'ddev start'.
26. DEMO PROJECT
23-06-2018 ddev: docker made easy 26
Starting environment for ddevproject...
Warning: containers will run as root. This is fine on Docker
for Windows or Docker for Mac, but could be a security risk on
Linux.
Starting ddev-ddevproject-db ... done
Starting ddev-ddevproject-dba ... done
Starting ddev-ddevproject-web ... done
Network ddev_default is external, skipping
Creating ddev-router ... done
Successfully started ddevproject
Your project can be reached at http://ddevproject.ddev.local,
https://ddevproject.ddev.local
29. DEMO PROJECT
23-06-2018 ddev: docker made easy 29
Warning: containers will run as root. This
is fine on Docker for Windows or
Docker for Mac, but could be a security
risk on Linux.
Warning: containers will run as root. This
is fine on Docker for Windows or
Docker for Mac, but could be a security
risk on Linux.
35. DEMO PROJECT
23-06-2018 ddev: docker made easy 35
You are reconfiguring the project at D:t3dd18ddevproject.
The existing configuration will be updated and replaced.
Project name (ddevproject):
The docroot is the directory from which your site is served. This is a
relative path from your project root (D:t3dd18ddevproject)
You may leave this value blank if your site files are in the project root
Docroot Location (web):
Found a typo3 codebase at D:t3dd18ddevprojectweb.
Project Type [wordpress, typo3, backdrop, php, drupal6, drupal7, drupal8]
(typo3):
TYPO3 does not seem to have been set up yet, missing
LocalConfiguration.php (D:t3dd18ddevprojectwebtypo3conf
AdditionalConfiguration.php)
Generating LocalConfiguration.php file for database connection.
Configuration complete. You may now run 'ddev start'.
38. DEMO PROJECT
23-06-2018 ddev: docker made easy 38
Welcome to the TYPO3 Console installer!
✔ Prepare installation
✔ Check environment and create folders
✔ Skipped Set up database connection
✔ Skipped Select database
➤ Set up database
Username of to be created administrative user account (required): jigal
Password of to be created administrative user account (required):
Name of the TYPO3 site (default: "New TYPO3 Console site"): ddevt3dd18
✔ Ok
➤ Set up configuration
Specify the site setup type (default: "no"):
[no ] Do nothing
[site] Create root page
> site
✔ Ok
✔ Set up extensions
Successfully installed TYPO3 CMS!
43. PHP VERSION
23-06-2018 ddev: docker made easy 43
NAME TYPE LOCATION URL(s) STATUS
ddevproject typo3 D:/t3dd18/ddevproject http://ddevproject.ddev.local running
https://ddevproject.ddev.local
Project Information
-----------------
PHP version: 7.1
URLs: http://ddevproject.ddev.local, https://ddevproject.ddev.local
MySQL Credentials
-----------------
Username: db
Password: db
Database name: db
Host: db
Port: 3306
To connect to mysql from your host machine, use port 32768 on 127.0.0.1.
For example: mysql --host=127.0.0.1 --port=32768 --user=db --password=db --database=db
Other Services
--------------
MailHog: http://ddevproject.ddev.local:8025
phpMyAdmin: http://ddevproject.ddev.local:8036
DDEV ROUTER STATUS: healthy