When you do things like deploy compile website, having it in developer mode things like that
You get your website for example in:
http error 500.
How to keep everything working, online in the air, so the visitors always see your website online?
My solution: If you are on production
Step 1: Copy Sourcecode to another place, run commline....
Step 2: If OK, point to this source or replace old source