ddev config --project-name={project_name} --project-type=craftcms
ddev composer create -y --no-scripts --no-install craftcms/craft
ddev start
ddev composer install
ddev snapshot restore --latest
ddev craft setup/security-key
to generate a unique security key
ddev exec npm install
ddev delete {project_name}
phpMyAdmin: https://{sitename}.ddev.site:8037 or ddev sequelpro
Run ddev exec npm run build
and ddev exec npm run serve
to start the local development server with hot module reloading (HMR).
Consult this tutorial for using Amazon S3 and Cloud Front for asset storage.