I have SiteA.com installed using composer at /var/www/html/siteA and database as DB_A
I have SiteB.com installed using composer at /var/www/html/siteB and and database as DB_B
Now I will create another site SiteC.com at /var/www/html/siteC and which is a copy of /var/www/html/siteA and database as DB_C which is import of DB_A (phpmyadmin export of DB_A). Copy is done before doing any changes to SiteA.
I did some changes in SiteA.com:
- Added a view,
- Created a new content type having image field and taxanomy terms.
If I export configuration using configuration synchronization from SiteA.com and import in SiteB.com and SiteC.com , which will work and if not what modules or procedures should I use to make it work in unworkable site?
I have 3 environments:
- sandbox: this is my playground to try modules or create views etc.
- test: Once I have everything ready, I have to provide a clean site with all modules, content types, views etc and styles installed (just without content) to test environment.
- prod: If test is approved, same site at prod (everything except content) be deployed to prod.
I am confused, how to set up and do what?
Note: In essence I want to promote application to test and prod environments. I just wanted to explain what I was trying to do with SiteA, SiteB and SiteC as examples. Yes we have GIT, but did not used GIT to manage code yet for this application.