Development system setup

You can have any number of development systems, provided the following is true of all of them:

  • They all run Commerce 2.2 or later

  • All Commerce code is under source control in the same repository as the build and production systems

  • Each development system should use either default mode or developer mode

  • It has file system ownership and permissions set as discussed in Prerequisite for your development, build, and production systems.

  • Make sure all of the following are excluded from source control:

    • vendor directory (and subdirectories)
    • generated directory (and subdirectories)
    • pub/static directory (and subdirectories)
    • app/etc/env.php file
  • Make sure app/etc/config.php is included in source control

If you use Git, the .gitignore file provides most of the preceding. See the .gitignore reference.

recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c