Skip to content

Commit

Permalink
add deployment procedure for App Service
Browse files Browse the repository at this point in the history
  • Loading branch information
ks6088ts committed Aug 2, 2024
1 parent c18b071 commit e77eeaf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .deployment
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[config]
SCM_DO_BUILD_DURING_DEPLOYMENT=true
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,5 @@ cython_debug/

# Project
*.env
requirements.txt
artifacts/
generated/
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,11 @@ To publish the docker image to Docker Hub, you need to set the following secrets
gh secret set DOCKERHUB_USERNAME --body $DOCKERHUB_USERNAME
gh secret set DOCKERHUB_TOKEN --body $DOCKERHUB_TOKEN
```

## Deployment

### App Service

- [Streamlit を Azure App Service で動かす!](https://qiita.com/takashiuesaka/items/491b21e9afb34bbb6e6d)
- [WARNING: Could not find virtual environment directory /home/site/wwwroot/antenv](https://stackoverflow.com/a/61720957)
- [How to deploy a streamlit application on Azure App Service (WebApp)](https://learn.microsoft.com/en-us/answers/questions/1470782/how-to-deploy-a-streamlit-application-on-azure-app)
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
openai==1.37.1
python-dotenv==1.0.1
streamlit==1.37.0
azure-cosmos==4.7.0

0 comments on commit e77eeaf

Please sign in to comment.