From dbf7e0ea656e7584b0b14fda3f86b4861d0ccf40 Mon Sep 17 00:00:00 2001 From: Kyrylo Malakhov Date: Sun, 9 Jul 2023 14:32:37 +0300 Subject: [PATCH 1/2] Fix deployment issues + fix node compile-image (to node:16-buster, node.js 16 ver) + fix python-dev to python3-dev + fix for using some old Python packages (jinja2<3.1.0 , itsdangerous==2.0.1 , werkzeug==2.0.3) --- Dockerfile-docsim | 6 ++++-- server/deploy/requirements.txt | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile-docsim b/Dockerfile-docsim index 245ece6..cbfc4c9 100644 --- a/Dockerfile-docsim +++ b/Dockerfile-docsim @@ -1,4 +1,5 @@ -FROM node:lts-buster AS compile-image +FROM node:16-buster AS compile-image +# FROM node:lts-buster AS compile-image COPY ./ui /app/ui @@ -29,7 +30,8 @@ EXPOSE 5000 RUN apt-get -y clean \ && apt-get -y update \ - && apt-get -y install python-dev \ + # && apt-get -y install python-dev \ + && apt-get -y install python3-dev \ && apt-get -y install build-essential \ && apt-get -y install unzip \ && apt-get -y install bzip2 \ diff --git a/server/deploy/requirements.txt b/server/deploy/requirements.txt index 049c8e5..09bf652 100755 --- a/server/deploy/requirements.txt +++ b/server/deploy/requirements.txt @@ -5,6 +5,9 @@ pdfminer.six==20201018 pandas==1.1.4 gensim==3.8.3 +jinja2<3.1.0 +itsdangerous==2.0.1 +werkzeug==2.0.3 Flask==1.1.2 flask-cors==3.0.9 # ------------------------------------------------------------------ From c22b615d83aee1df062a63c631752c919c9c26fc Mon Sep 17 00:00:00 2001 From: Kyrylo Malakhov Date: Sun, 9 Jul 2023 14:34:15 +0300 Subject: [PATCH 2/2] =?UTF-8?q?Update=20UkrVect=C5=8Dr=C4=93s=20app=20doma?= =?UTF-8?q?in?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + new app domain https://ukrvectores.e-rehab.pp.ua --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6f28af0..1334779 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,19 @@ **docsim/UkrVectōrēs** – An NLU-powered tool for knowledge discovery, classification, diagnostics and prediction. -You can preview a completed latest version of the UkrVectōrēs app here: [https://ukrvectores.ai-service.pp.ua](https://ukrvectores.ai-service.pp.ua) +You can preview a completed latest version of the UkrVectōrēs app here: [https://ukrvectores.e-rehab.pp.ua](https://ukrvectores.e-rehab.pp.ua) + +## Donation/Funding + +[https://send.monobank.ua/jar/5ad56oNAcD](https://send.monobank.ua/jar/5ad56oNAcD) ## DOI [![DOI](https://zenodo.org/badge/301062465.svg)](https://zenodo.org/badge/latestdoi/301062465) -## Caution/Disclaimer +## Important note -**Important note:** UkrVectōrēs project and documentation are in active development. For any technical clarifications and questions contact us via email: [malakhovks@nas.gov.ua](mailto:malakhovks@nas.gov.ua) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://ukrvectores.ai-service.pp.ua](https://ukrvectores.ai-service.pp.ua) server. +UkrVectōrēs project and documentation are in active development. For any technical clarifications and questions contact us via email: [malakhovks@nas.gov.ua](mailto:malakhovks@nas.gov.ua) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://ukrvectores.e-rehab.pp.ua](https://ukrvectores.e-rehab.pp.ua) server. ## Choose your language / Оберіть мову @@ -24,7 +28,7 @@ You can preview a completed latest version of the UkrVectōrēs app here: [https Сервіс **docsim/UkrVectōrēs** обчислює семантичні відношення між сутностями української мови в рамках обраної дистрибутино-семантичної моделі векторного представлення сутностей. -Ви можете переглянути актуальну версію додатка UkrVectōrēs за посиланнями: [https://ukrvectores.ai-service.pp.ua](https://ukrvectores.ai-service.pp.ua) +Ви можете переглянути актуальну версію додатка UkrVectōrēs за посиланнями: [https://ukrvectores.e-rehab.pp.ua](https://ukrvectores.e-rehab.pp.ua) ### Увага @@ -88,11 +92,15 @@ You can preview a completed latest version of the UkrVectōrēs app here: [https ## docsim/UkrVectōrēs - An NLU-Powered tool for knowledge discovery, classification, diagnostics and prediction. -You can preview a completed latest version of the UkrVectōrēs app here: [https://ukrvectores.ai-service.pp.ua](https://ukrvectores.ai-service.pp.ua) +You can preview a completed latest version of the UkrVectōrēs app here: [https://ukrvectores.e-rehab.pp.ua](https://ukrvectores.e-rehab.pp.ua) + +### Donation/Funding + +[https://send.monobank.ua/jar/5ad56oNAcD](https://send.monobank.ua/jar/5ad56oNAcD) -### Caution/Disclaimer +### Important note -**Important note:** UkrVectōrēs project and documentation are in active development. For any technical clarifications and questions contact us via email: [malakhovks@nas.gov.ua](mailto:malakhovks@nas.gov.ua) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://ukrvectores.ai-service.pp.ua](https://ukrvectores.ai-service.pp.ua) server. +UkrVectōrēs project and documentation are in active development. For any technical clarifications and questions contact us via email: [malakhovks@nas.gov.ua](mailto:malakhovks@nas.gov.ua) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://ukrvectores.e-rehab.pp.ua](https://ukrvectores.e-rehab.pp.ua) server. ### Table of Contents