php - How should I make changes to a live Magento site with 4000+ products -


i want make changes magento website without going down or having problems.

changes include database changes , file changes.

what best way this?

my current solution is:

  1. move whole website directory , make changes while write changes step step
  2. solve problems , make sure good, then;
  3. make changes step step production site, faster

can me better solution?

if you're making change database, should write setup scripts run queries you. benefits are:

  • they're versioned - separate scripts modules , order should run in.
  • you commit them version control system - minimal chance of running accident, or making typo when run them.
  • the server runs them @ once when needs to/when tell - speed.

this has obvious benefits on suggested approach of doing manually. if "as possible" never beat server running series of commands you've told do.

you can "dry run" deployment staging or development environment before go live, , can measure how long setup scripts take run.

personally, advice if setup scripts take longer 20-30 seconds complete should @ putting maintenance page and/or doing deployment @ time site traffic @ lowest. threshold you, customers not frustrated or annoyed minor hiccup - when things happen time on internet.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -