Wiki source code of deployment-guide-lines
Version 1.2 by Rudi Marais on 2023/11/02 14:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | Prerequisites | ||
| 4 | |||
| 5 | 1. make sure C:\inetpub\wwwroot contains the following folders | ||
| 6 | 11. backups | ||
| 7 | 11. deploy | ||
| 8 | 1. check disc space is suffcient | ||
| 9 | 1. make sure the deploy folder contains winmergeU.exe | ||
| 10 | 1. double check the path of the site in IIS [dont assume] | ||
| 11 | 1. create a sub folder on backups folder with site name if not exists | ||
| 12 | 1. create a sub folder on deploy folder with site name if not exists | ||
| 13 | |||
| 14 | Deploy Steps | ||
| 15 | |||
| 16 | 1. zip source folder and give a time stamp on filename ie: | ||
| 17 | 11. [filename]_[YYYYmmdd-HHmmss].zip | ||
| 18 | 1. move backup to to site subfolder in the backups folder | ||
| 19 | 1. copy your deployment package (ZIP) over to the deploy\[site_name] folder and extract | ||
| 20 | 1. open winmerge and compare the deploy\[site_name] folder with the site folder | ||
| 21 | 1. FIRST merge across the bin folder | ||
| 22 | 11. do not remove binaries on the destination folder if it is not in your build | ||
| 23 | 1. merge across the other pages | ||
| 24 | 11. if the page on the destination server looks newer then stop and consult | ||
| 25 | 1. finally merge the web.config - DO NOT just overwrite | ||
| 26 | 11. this is done LINE BY LINE | ||
| 27 | 11. do not remove config in the destination file unless you are 100% it can be removed | ||
| 28 | 11. do not change any existing config unless you 100% sure it should be changed | ||
| 29 | 11. | ||
| 30 | 1. restart the app pool for the site | ||
| 31 | 11. again dont assume go check what app pool it points to | ||
| 32 | 1. sanity check the site | ||
| 33 | 1. check the log file to make sure no errors where reported | ||
| 34 | 11. make sure you checking the log that is configured in the web.config |