u/Firflant

▲ 5 r/drupal

How to prepare Drupal CMS for local development and make it deployable?

Hey, let's say I initiated new Drupal project locally using official ddev instructions. Smooth and clean experience, all good. Now, what to do next? I would like to start develop - turn off twig and any other caching, enable debugging, ensure that .gitignore is prepare for a composer-managed project, configure config_sync_directory so i can store entire site configuration in a git.

Nothing special I would say - just a normal way of working on a stuff as a developer, while keeping the best practices.

And the question is: Where I can find some official docs so I do not have to use a tribal knowledge or guess whether I configured my gitignore, settings and services files correctly? Where i can read such an infos like why there is a dot in third line of .gitignore, after /vendor.?

Did I missed something or this part is not well documented?

reddit.com
u/Firflant — 1 day ago