Skip to content

Commit

Permalink
Add azure deployment steps
Browse files Browse the repository at this point in the history
  • Loading branch information
s-sumner authored Dec 24, 2023
1 parent 650cda1 commit 6089191
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A flask app that takes docx files and converts them to markdown. AI-assisted code development.

There are steps to [deploy locally](##local-deployment-steps) and [deploy to Azure App Service](##deploy-to-azure-app-service)

## Local deployment steps

Create virtual environment
Expand Down Expand Up @@ -53,3 +55,10 @@ http://localhost:5000/
Stop web app

`Ctrl` + `C`

## Deploy to Azure App Service
1. Create a web app in Azure App Service. Use Python 3.12 runtime. Start with a Free App Service Plan.
2. Connect GitHub organization to the web app in Azure App Service. With a Free App Service Plan, you have to connect GitHub to the web app after the deployment. In the Azure Portal, go to "Deployment Center" on the left and select the right source control, organization, repository, and branch.
3. Select Add Workflow, and Azure App Service automatically creates a workflow yaml file and deploys with GitHub Actions.
4. In GitHub, track the build and deployment progress using the "Actions" tab at the top of the repo.
5. In the portal, find your "Default domain" and click the link.

0 comments on commit 6089191

Please sign in to comment.