Deploying FloodzillaWeb

From floodzilla-wiki
Revision as of 17:09, 8 September 2020 by DaveSanderman (talk | contribs) (Created page with "== Deploying FloodzillaWeb == FloodzillaWeb is hosted on Microsoft Azure. This is a step-by-step guide for how to deploy the website code using Visual Studio 2019. Note tha...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Deploying FloodzillaWeb

FloodzillaWeb is hosted on Microsoft Azure. This is a step-by-step guide for how to deploy the website code using Visual Studio 2019. Note that the details of the dialog boxes have changed multiple times and will likely change again; any text and screenshots in this document may be out of date...

This document describes publishing to both the production system ("floodzillaprod") and the beta/testing site ("fzbeta").

This document also assumes that you have access to the Microsoft Azure Sponsorship subscription that SVPA uses for hosting, and that you have sufficient rights to publish new code.

Initial deployment

The first time you deploy to Azure, you have to go through a number of steps to set up the deployment. This also applies in a new branch or a new git enlistment.

To create the deployment settings:

  1. In Visual Studio's Solution Explorer, right-click the FloodzillaWeb project and select "Publish...".
  2. Select "Azure" as the publishing target ("Where are you publishing today?"
  3. For Specific Target, choose "Azure App Service (Windows)"
  4. Select the appropriate App Service: "floodzillaprod" for production or "fzbeta" for beta.

At this point, you should see a Publish Settings page that looks something like this:

Publishsettings.png

This next block may change. See the talk page for an explanation.

Hit "Edit" to customize the deployment. Under "Settings"/"File Publish Options", check "Remove additional files at destination".

You are now read to deploy. Hit "Publish". If all goes well, in a few minutes a browser window will pop up pointing at your freshly-deployed site.