Skip to content

Commit

Permalink
azure deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Arctusol committed Dec 5, 2024
1 parent 7372331 commit 78ba94b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
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
2 changes: 1 addition & 1 deletion .github/workflows/main_medicalanalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Optional: Add step to run tests here (PyTest, Django test suites, etc.)

- name: Zip artifact for deployment
run: zip release.zip ./* -r
run: zip release.zip ./* .streamlit -r

- name: Upload artifact for deployment jobs
uses: actions/upload-artifact@v4
Expand Down
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ coverage.xml

#BigQuery
*.json
<<<<<<< HEAD
notebooks/logs.log

notebooks/logs.log
=======
>>>>>>> 0b06f1df2a1a145164c71042b2238fe6724df702
# Data (ajustez selon vos besoins)
*.csv
*.xlsx
*.db
dataset/
machine_learning/
notebooks/
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.9
python-3.11
2 changes: 1 addition & 1 deletion startup.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python -m streamlit run global.py
python -m streamlit run app.py
8 changes: 8 additions & 0 deletions web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="PythonHandler" path="*" verb="*" modules="FastCgiModule" scriptProcessor="D:\Python311\python.exe|D:\Python311\Lib\site-packages\wfastcgi.py" resourceType="Unspecified" requireAccess="Script"/>
</handlers>
</system.webServer>
</configuration>

0 comments on commit 78ba94b

Please sign in to comment.