Publishing LEIS to Development Manually

 Instructions

Preparing the LEIS server package and publish the Business and Security websites.

  • Get latest development changes from DevOps.

  • Make sure the solution is set to Release (not Debug)

  • Set the connection string in the App.config in the LEIS.Business project to the dev environment.

  • Set the connection string in the App.config in the LEIS.Security project to the dev environment.

  • Rebuild All

Prepare LEIS Internal

  • Prepare the LEIS Internal Server Package

  • LEIS Business Internal Installer package

    • Create a backup of LEIS.Business.Server.Internal.Installer.msi and Setup.exe in the target location.

    • Copy the LEIS.Business.Server.Internal.Installer.msi and Setup.exe from your local code, example:
      C:\Projects\LEIS\Development\LEIS.Business.Server.Internal.Installer\Release\ into the target location
      \\ncrws548\TPwwwroot\eigdev\leis.Business.Server.Installer\Release

  • LEIS Security Internal Installer package

    • Create a backup LEIS.Security.Server.Internal.Installer.msi and Setup.exe in the target location.

    • Copy the into LEIS.Security.Server.Internal.Installer.msi and Setup.exe from your local code, example:
      C:\Projects\LEIS\Development\LEIS.Security.Server.Internal.Installer\Release\ into the target location:
      \\ncrws548\TPwwwroot\eigdev\LEIS.Security.Server.Installer\Release

 

  • LEIS Internal websites

    • Publish

      • Configure the web.config files for both the LEIS.Business.Web and LEIS.Security.Web projects for the dev environment, refer to this page for specifics: https://tcmarin.atlassian.net/wiki/spaces/RAIL/pages/2786328589

      • Right-click the LEIS_Business_Web project (Important! Perform this step and the following steps for both the LEIS.Business.Web and LEIS.Security.Web projects).

      • Select “Publish…” from the context menu

      • From the Publish Web Dialog, create the following LEIS Publishing Profiles with
        the publishing method set to File System to all of them:

        • DEV – LEIS Business Internal

          • Target Location:
            \\ncrws548\TPwwwroot\eigdev\leis-siel

        • DEV – LEIS Security Internal

          • Target Location:
            \\ncrws548\TPwwwroot\eigdev\leisa-asiel

      • Backup the files at the target location before you click the publish button.

      • Manually delete all files and folders (Except the Backup folder) in the target
        location.

      • Click the Publish button.

      • Open the bin folder in the target location and delete “Oracle.DataAccess.dll”

Reminder to Publish both LEIS.Business.Web and LEIS.Security.Web projects.

Prepare LEIS External

  • Prepare the LEIS External Server Package

  • LEIS Business Installer package

    • Create a backup of LEIS.Business.Server.Installer.msi and Setup.exe in the target location.

    • Copy the LEIS.Business.Server.Installer.msi and Setup.exe from your local code, example:
      C:\Projects\LEIS\Development\LEIS.Business.Server.Installer\Release\ into the target location:
      \\ncrws548\GACSwwwroot\securedev\leis.Business.Server.Installer\Release

  • LEIS Security Installer package

    • Create a backup LEIS.Security.Server.Installer.msi and Setup.exe in the target location.

    • Copy the into LEIS.Security.Server.Installer.msi and Setup.exe from your local code, example:
      C:\Projects\LEIS\Development\LEIS.Security.Server.Installer\Release\ into the target location:
      \\ncrws548\GACSwwwroot\securedev\leis.Security.Server.Installer\Release

 

  • LEIS external websites

    • Publish

      • Configure the web.config files for both the LEIS.Business.Web and LEIS.Security.Web projects for the dev environment, refer to this page for specifics: https://tcmarin.atlassian.net/wiki/spaces/RAIL/pages/2786328589

      • Right-click the LEIS.Business.Web project (Important! Perform this step and the following steps for both the LEIS.Business.Web and LEIS.Security.Web projects).

      • Select “Publish…” from the context menu.

      • From the Publish Web Dialog create the following LEIS Publishing Profiles with
        the publishing method set to File System:

        • DEV – LEIS Business

          • Target Location:
            \\ncrws548\GACSwwwroot\securedev\leis-siel

        • DEV – LEIS Security

          • Target Location:
            \\ncrws548\GACSwwwroot\securedev\leisa-asiel

      • Backup the files at the target location before you click the publish button.

      • Manually delete all files and folders (Except the Backup folder) in the target
        location.

      • Click the Publish button.

      • Open the bin folder in the target location and delete “Oracle.DataAccess.dll”

Reminder to Publish both LEIS.Business.Web and LEIS.Security.Web projects.

Send an email to the TC Web Support Team

Once the server and web packages are ready, send an email to TC Web Tech Support Team.

To: webtechnicalsupport-soutientechniqueweb@tc.gc.ca

Sample email:

Hi,

I prepared new msi installer files to be installed for our LEIS DEV deployment.

The files are placed in the staging folders below:

LEIS Business External (GARTDEV)

\\ncrws548\GACSwwwroot\securedev\leis.Business.Server.Installer\Release

LEIS Business Internal (EIGDEV)

\\ncrws548\TPwwwroot\eigdev\leis.Business.Server.Installer\Release

LEISA Security Internal (EIGDEV)

\\ncrws548\TPwwwroot\eigdev\LEIS.Security.Server.Installer\Release

LEISA Security External (GARTDEV)

\\ncrws548\GACSwwwroot\securedev\leis.Security.Server.Installer\Release

Thanks,

 

Send an email to the LEIS product owners