-2

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:

  1. Added a view,
  2. 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.

  • Does site A, B and C mean local, stage and prod? Or do you want to local, stand and prod all three sites A, B and C? Do you manage your code with Git? – leymannx Jan 12 at 21:28
  • This question looks pretty similar to this one ... – Pierre.Vriens Jan 14 at 15:41
  • @Pierre.Vriens – Do you mean this one: drupal.stackexchange.com/q/275109/15055 – leymannx Jan 14 at 17:39
  • 1
    @leymannx that completes the circle ... feel free to choose ... – Pierre.Vriens Jan 14 at 17:47
  • @Pierre.Vriens – Seems we are caught in a loop :D – leymannx Jan 14 at 17:54

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.