deployment-guide-lines
Version 1.2 by Rudi Marais on 2023/11/02 14:12
Prerequisites
- make sure C:\inetpub\wwwroot contains the following folders
- backups
- deploy
- check disc space is suffcient
- make sure the deploy folder contains winmergeU.exe
- double check the path of the site in IIS [dont assume]
- create a sub folder on backups folder with site name if not exists
- create a sub folder on deploy folder with site name if not exists
Deploy Steps
- zip source folder and give a time stamp on filename ie:
- [filename]_[YYYYmmdd-HHmmss].zip
- move backup to to site subfolder in the backups folder
- copy your deployment package (ZIP) over to the deploy\[site_name] folder and extract
- open winmerge and compare the deploy\[site_name] folder with the site folder
- FIRST merge across the bin folder
- do not remove binaries on the destination folder if it is not in your build
- merge across the other pages
- if the page on the destination server looks newer then stop and consult
- finally merge the web.config - DO NOT just overwrite
- this is done LINE BY LINE
- do not remove config in the destination file unless you are 100% it can be removed
- do not change any existing config unless you 100% sure it should be changed
- restart the app pool for the site
- again dont assume go check what app pool it points to
- sanity check the site
- check the log file to make sure no errors where reported
- make sure you checking the log that is configured in the web.config