You can have any number of development systems, provided the following is true of all of them:
- They all run Magento 2.2 or later
- All Magento 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:
vendordirectory (and subdirectories)
generateddirectory (and subdirectories)
pub/staticdirectory (and subdirectories)
- Make sure
app/etc/config.phpis included in source control
If you use Git, Magento’s
.gitignore provides most of the preceding. See the
.gitignore reference for more information.