warrenm Posted March 29, 2013 Share Posted March 29, 2013 I have my own server (VPS) and have a live store www.abc.com running 1.5.3. Rather than upgrade this in place (I also have some theme/module changes to make), I want to create dev.abc.com for testing. 1) How do I copy the live site to the dev.abc.com site? 2) After upgrading the dev site and tweaking the theme, adding/testing new modules etc. how do I move it back to the production site? 3) If I change any file/directory permissions in dev, is there an efficient way of updating the permissions in the live site. Thanks for your help, Warren Link to comment Share on other sites More sharing options...
Presta Ecommerce Posted March 30, 2013 Share Posted March 30, 2013 Depending on server running software (cpanel, parallels etc) you need to create full backup of your site and copy it to new dev place (dev.abc.com). Then do all the upgrade work, make sure you write all required changes and repeat the process on live server. The Right way to Upgrade Prestashop. Link to comment Share on other sites More sharing options...
warrenm Posted March 30, 2013 Author Share Posted March 30, 2013 Thanks but when I copy into a new location which has a different url (dev.abc.com) and a different database name/logon, what changes do I make so that the new install has the updated info and works properly? Link to comment Share on other sites More sharing options...
Presta Ecommerce Posted March 30, 2013 Share Posted March 30, 2013 You need to: change db info in config file; update url info in db itself. Hint: go to phpmyadmin and search for your domain "abc.com". In that field, add "dev". Link to comment Share on other sites More sharing options...
warrenm Posted March 31, 2013 Author Share Posted March 31, 2013 (edited) Thanks Vladeta, My live site is http://www.mineralium-deadsea.com and my development site is http://dev.mineralium-deadsea.com I uploaded files and db, updated config file, did an sql search in the db and replaced all occurrences of www.abc.com with dev.abc.com, emptied the smarty cache and did a search/replace in the .htaccess file. It now all works, but it was quite a headache! Warren Edited March 31, 2013 by warrenm (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 31, 2013 Share Posted March 31, 2013 so, if it works - i decided to mark this topic as solved :-) thanks for info regards 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