nspinheiro Posted December 22, 2013 Share Posted December 22, 2013 Hi I want to make a replica of my store for tests. I am thinking that this could be like this: Install PS on /public_html/TEST Copy and overwrite the files from the live version to the test version Backup Live Version BD and Import it on TEST Will this work? I am not sure, mainly because of the modules. Also, to keep it replicated can i regularly just copy and paste files and import DB from live version? Thanks Link to comment Share on other sites More sharing options...
El Patron Posted December 22, 2013 Share Posted December 22, 2013 presto-changeo has a module just for this http://www.presto-changeo.com/en/105-test-site-creator.html Link to comment Share on other sites More sharing options...
Sharak Posted December 25, 2013 Share Posted December 25, 2013 (edited) For testing it's best to use local server on your computer. Try http://www.wampserver.com/en/ Edited December 25, 2013 by Sharak (see edit history) Link to comment Share on other sites More sharing options...
sadlyblue Posted December 26, 2013 Share Posted December 26, 2013 Hi I want to make a replica of my store for tests. I am thinking that this could be like this: Install PS on /public_html/TEST Copy and overwrite the files from the live version to the test version Backup Live Version BD and Import it on TEST Will this work? I am not sure, mainly because of the modules. Also, to keep it replicated can i regularly just copy and paste files and import DB from live version? Thanks of course it will work. i have one (sometimes more) to test new features and changes. you don't need to install, just duplicate the db (in phpmyadmin its easy), copy all files to the folder, then change the url in the test shop. i would only advise to use lowercase folders and urls to avoid conflicts. 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 26, 2013 Share Posted December 26, 2013 re: using localhost...you will also need to modify the config/settings.inc.php to reflect new db credentials. it is a very simple process to run copy or your shop locally I did not suggest it first as I thought the module by presto-changeo pretty cool as I also use something similar in my development machine. Link to comment Share on other sites More sharing options...
nspinheiro Posted December 26, 2013 Author Share Posted December 26, 2013 of course it will work. i have one (sometimes more) to test new features and changes. you don't need to install, just duplicate the db (in phpmyadmin its easy), copy all files to the folder, then change the url in the test shop. i would only advise to use lowercase folders and urls to avoid conflicts. Thank you. as soon as i can i will try and leave feedback. End of the year is not easy. Link to comment Share on other sites More sharing options...
benjamin utterback Posted December 26, 2013 Share Posted December 26, 2013 Make sure to Backup both your database and PrestaShop files manually. The DB backup is a good feature but when you are doing an upgrade or migration you want to make sure you also do it manually. You can learn how to here, How to Manually Back Up your PrestaShop Database and Files After you do that, 1) Export your database using phpmyadmin 2) Copy your Files from your Live store via FTP 3) Import your database into the new Local test database 4) Copy your Files into your new Local directory 5) Go into config/setting.inc.php of the Test site and make sure you have changed the database name 6) Double check the test database to make sure that ps_configruation , ps_shop_name , and ps_shop_url is correctly inputted . That really should be it, others may tell you an easier way but that is that way I've done it. Copying Live to Local is much less of a hassle than copying Live to Live(test) domain because then you have modules with your existing links in it like your CMS links. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now