Deploying Changes From ProteanCMS using GIT - Eonic/ProteanCMS GitHub Wiki

ProteanCMS GAC Build and Deployment Guide

Prerequisites

Note: it is worth considering updating any dependancies at this point ensuring they are referenced in both the installer and the Actions

  1. 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.

  2. Verify GAC Installation
    Navigate to C:\Windows\Microsoft.NET\assembly\GAC_MSIL\ProteanCMS and check that the latest version is installed and that no versions have been skipped.

  3. Update machine.config File
    Ensure that the machine.config file has the most up-to-date references. If the machine.config file is outdated, build ProteanCMS.Installer.Action in the ProteanCMS project to update the dependencies located in machine.config.

  4. 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
  1. Clean and Rebuild the Project
    Perform a clean and rebuild of the project.

  2. 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 generator ProteanCMS.

Steps to Merge to Master

  1. Push changes of ProteanCMS to the General Development branch and sync.

  2. In DevOps, create a new pull request to master and ensure it gets approved before merging.

Steps to Deploy on Web06

  1. Navigate to Web06.

  2. Open GitBash from the ProteanCMS directory.

  3. Complete the following actions in GitBash:

    git fetch --all
    git reset --hard HEAD
    git pull origin/master
  4. Run the GAC Installer and check the version is correct.

  5. 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)

  6. Navigate to the admin portal and check that the version number in the bottom right is correct.

##Steps to Upgrade the Database

  1. Navigate to a website hosted on Web06 and append /ptn/setup to the end of the URL (e.g., https://eonic.digital/ptn/setup/).

  2. Select Maintenance > Database Upgrade then select 'Upgrade Database'.

  3. Ensure that all packages are upgraded

Congratulations! All changes that have been made have been successfully deployed to Web06!

###Deployment Diagram Deployment Diagram.png



⚠️ **GitHub.com Fallback** ⚠️