From 4ed1c0cb80a8edff7f4699af4dcdfbd37135f682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Saunier?= Date: Mon, 18 Nov 2024 10:40:10 +0100 Subject: [PATCH] Migrate from Heroku to Scaleway --- .github/workflows/deploy.yml | 15 +++++ LICENSE | 2 +- Procfile | 2 +- requirements.txt | 104 +++++++++++++++++++++++++++++++---- runtime.txt | 2 +- 5 files changed, 110 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..e9bf9cc --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,15 @@ +name: Deploy +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + deploy: + uses: lewagon/.github/.github/workflows/dokku-deploy.yml@main + secrets: inherit + with: + server: glovebox.lewagon.engineering + app: streamlit + branch: main diff --git a/LICENSE b/LICENSE index e51d907..6185912 100644 --- a/LICENSE +++ b/LICENSE @@ -1 +1 @@ -© 2023 La Loco SAS, head of Le Wagon Group - All rights reserved +© 2024 La Loco SAS, head of Le Wagon Group - All rights reserved diff --git a/Procfile b/Procfile index 1cf9cc8..1894c18 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: sh setup.sh && streamlit run demo.py +web: sh setup.sh && streamlit run demo.py --server.port $PORT diff --git a/requirements.txt b/requirements.txt index 4b34e02..735c9be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,92 @@ -streamlit -numpy -pandas -matplotlib -seaborn -plotly -altair -scipy -requests -bs4 -folium -streamlit_folium +altair==4.1.0 +argon2-cffi==21.1.0 +astor==0.8.1 +attrs==21.2.0 +backcall==0.2.0 +backports.zoneinfo==0.2.1 +base58==2.1.0 +beautifulsoup4==4.9.3 +bleach==4.1.0 +blinker==1.4 +branca==0.4.2 +bs4==0.0.1 +cachetools==4.2.2 +certifi==2021.5.30 +cffi==1.14.6 +charset-normalizer==2.0.4 +click==7.1.2 +cycler==0.10.0 +debugpy==1.4.1 +decorator==5.0.9 +defusedxml==0.7.1 +entrypoints==0.3 +folium==0.12.1 +gitdb==4.0.7 +GitPython==3.1.18 +idna==3.2 +ipykernel==6.3.1 +ipython==7.27.0 +ipython-genutils==0.2.0 +ipywidgets==7.6.4 +jedi==0.18.0 +Jinja2==3.0.1 +jsonschema==3.2.0 +jupyter-client==7.0.2 +jupyter-core==4.7.1 +jupyterlab-pygments==0.1.2 +jupyterlab-widgets==1.0.1 +kiwisolver==1.3.2 +MarkupSafe==2.0.1 +matplotlib==3.4.3 +matplotlib-inline==0.1.2 +mistune==0.8.4 +nbclient==0.5.4 +nbconvert==6.1.0 +nbformat==5.1.3 +nest-asyncio==1.5.1 +notebook==6.4.3 +numpy==1.21.2 +packaging==21.0 +pandas==1.3.2 +pandocfilters==1.4.3 +parso==0.8.2 +pexpect==4.8.0 +pickleshare==0.7.5 +Pillow==8.3.1 +plotly==5.3.1 +prometheus-client==0.11.0 +prompt-toolkit==3.0.20 +protobuf==3.17.3 +ptyprocess==0.7.0 +pyarrow==5.0.0 +pycparser==2.20 +pydeck==0.7.0 +Pygments==2.10.0 +pyparsing==2.4.7 +pyrsistent==0.18.0 +python-dateutil==2.8.2 +pytz==2021.1 +pyzmq==22.2.1 +requests==2.26.0 +scipy==1.7.1 +seaborn==0.11.2 +Send2Trash==1.8.0 +six==1.16.0 +smmap==4.0.0 +soupsieve==2.2.1 +streamlit==0.87.0 +streamlit-folium==0.4.0 +tenacity==8.0.1 +terminado==0.11.1 +testpath==0.5.0 +toml==0.10.2 +toolz==0.11.1 +tornado==6.1 +traitlets==5.1.0 +tzlocal==3.0 +urllib3==1.26.6 +validators==0.18.2 +watchdog==2.1.5 +wcwidth==0.2.5 +webencodings==0.5.1 +widgetsnbextension==3.5.1 diff --git a/runtime.txt b/runtime.txt index 0d53dcd..4eba2a6 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.8.11 +3.13.0