Write a Drupal installation profile
The installation profile will reside in its own profilename directory in the /profiles directory of a Drupal 8 site.
All installation profiles must have a profilename.info.yml file. They may also have:
-
profilename.install file
-
profilename.profile
-
config folder
-
translations folder
When packaged, your installation profile will also have modules, src, and themes directories as needed.