Deploying Changes From ProteanCMS using GIT - Eonic/ProteanCMS GitHub Wiki
Note: it is worth considering updating any dependancies at this point ensuring they are referenced in both the installer and the Actions
-
Install the Latest Version of the GAC Installer Locally
Ensure that you have the latest version of the GAC Installer installed on your local machine by building the WiX project. -
Verify GAC Installation
Navigate toC:\Windows\Microsoft.NET\assembly\GAC_MSIL\ProteanCMS
and check that the latest version is installed and that no versions have been skipped. -
Update
machine.config
File
Ensure that themachine.config
file has the most up-to-date references. If themachine.config
file is outdated, buildProteanCMS.Installer.Action
in the ProteanCMS project to update the dependencies located inmachine.config
. -
Check Version Numbers
Verify that the version numbers within the ProteanCMS project are correct and follow the format 6.1.x.0 in the following files:
- Protean.CMS
- Protean.Tools
- ProteanCMS.Installer
- ProteanCMS.Installer.Actions
- Protean.Providers.Messaging.CampaignMonitor
-
Clean and Rebuild the Project
Perform a clean and rebuild of the project. -
Verify DLL Version
Launch a locally running project and check the version of the DLL by using 'View Page Source' and searching for the meta generatorProteanCMS
.
-
Push changes of
ProteanCMS
to the General Development branch and sync. -
In DevOps, create a new pull request to master and ensure it gets approved before merging.
-
Navigate to Web06.
-
Open GitBash from the ProteanCMS directory.
-
Complete the following actions in GitBash:
git fetch --all git reset --hard HEAD git pull origin/master
-
Run the GAC Installer and check the version is correct.
-
Check the websites are still up and running that are on the server and check the DLL being used by viewing page source. (Also check that an old version isn't cached on your machine)
-
Navigate to the admin portal and check that the version number in the bottom right is correct.
##Steps to Upgrade the Database
-
Navigate to a website hosted on Web06 and append
/ptn/setup
to the end of the URL (e.g.,https://eonic.digital/ptn/setup/
). -
Select Maintenance > Database Upgrade then select 'Upgrade Database'.
-
Ensure that all packages are upgraded
Congratulations! All changes that have been made have been successfully deployed to Web06!
###Deployment Diagram