Jump to content

[solved] Test/Production Server Best Practices


Recommended Posts

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

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 by warrenm (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...