Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to deploy my zencart on my live server , when I deployed it on stage it was very painful.
I had to do everything step by step again , because of lots of customization it takes lots of time , effort and testing . Can anyone tell me better way to do this?

share|improve this question

If your live environment is a mirror of staging area you should be able to copy your completed copy of your site from your staging area to your live server when you are done developing it. You shouldn't need to go through the steps of reassembling it piece-by-piece on the live server. That kind of defeats the purpose of having a staging area in the first place.

share|improve this answer
There are some config files , which need to be changed.I dont how many are there.I know 2 of them , will work on them & find out.Also I wanted to know is here any change in db or not.But your post was helpful.Thanks. – Debugger Jan 23 '12 at 6:17

As John states, the purpose of a staging area is to replicate your production environment so you can get the kinks out before you deploy to your production server(s). Ideally, you'd use the same VM image to ensure the two environments are identical, but if you can't then you should at least use the same OS and software versions.

Secondly, many of the repetitive manual tasks required in deployment can be automated. CI software like Capistrano, Puppet, etc. let you script your deployment tasks, such as fetching the latest files from your revision control server, uploading them to your production servers, running database migrations, regression testing, and automatically rollback to the previous revision if the deployment fails.

If you can't get your staging server identical to your production environment, then I would just set up a staging subdomain on the production server. Your deployment script can deploy to this subdomain, and if everything tests out, use a symlink to make it live.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.