cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help! best way to create clone for magento2 to work on testing environment

Need Help! best way to create clone for magento2 to work on testing environment

Hello Magento Family, Hope you are doing well,i have to do the work to improve magento 2.1 enterprise, i want to know the best way to clone the store and create testing/working environment where i can develop and update things confidently and later deploy on live website. i have domain and hosting to meet the specs of magento enterprise to create clone, i do also have wamp and xamp server, local database etc. i just want to know the best way to do this, please explain me how to get the copy of 2.1 magento system, best way to get backup zip file, setup either on local or live testing server to clone the site so that i can develop further things on testing environment Urgently required help, please advise

1 REPLY

Re: Need Help! best way to create clone for magento2 to work on testing environment

Hi @Akif,

 

This is the kind of question that hasn't a maginc answer that fits on every scenario.

In your case, I guess the base approach is to use somne VCS like Git (I use Bitbucket and Github mostly) so you will have all your code into your repository.

Now you can clone the project into your LIVE, TEST and/or DEV server. Also, you will be able to clone the project on your local environment too.

There are some discussions about which files should be added or ignored into the repository (for example, the /vendor directory or the app/etc/config.php file). I will recommend you to read about it and choose the approach taht works better for you.

Once you have all your environments ready you should be able to work locally and push your changes to the repository.

Then you can pull those changes on the desired server.

As you can imagine, these are the very first steps.

 

(my 2 cents)

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"