Skip to content

Commit

Permalink
Bug fixes of deployment process (#56)
Browse files Browse the repository at this point in the history
### 🔴 Bug fixes

- updated up to python:3.7.17-slim-bookworm base docker image;
- fixes wine installation/setup on Debian 12 Bookworm.

### 👥 Contributors

@malakhovks
  • Loading branch information
malakhovks authored Jul 11, 2023
1 parent 83dd13f commit 8aa6b32
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 11 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## v3.3.3: Bug fixes of deployment process

### 🔴 Bug fixes

- updated up to python:3.7.17-slim-bookworm base docker image;
- fixes wine installation/setup on Debian 12 Bookworm.

### 👥 Contributors

@malakhovks

## v3.3.2, 2021-05-01

### 🔴 Виправлення помилок
Expand Down
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM python:3.7.10-slim-stretch
FROM python:3.7.17-slim-bookworm
# FROM python:3.7.10-slim-stretch
# FROM python:3.7.7-slim-stretch
# FROM python:2.7-slim-stretch

Expand Down Expand Up @@ -29,9 +30,12 @@ RUN chgrp -R www-data /srv/ken/deploy/konspekt \
# install wine stable
&& apt-get install -y software-properties-common apt-transport-https \
&& dpkg --add-architecture i386 \
&& wget -nc https://dl.winehq.org/wine-builds/winehq.key \
&& apt-key add winehq.key \
&& apt-add-repository https://dl.winehq.org/wine-builds/debian/ \
# && wget -nc https://dl.winehq.org/wine-builds/winehq.key \
&& mkdir -pm755 /etc/apt/keyrings \
&& wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key \
# && apt-key add winehq.key \
# && apt-add-repository https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources \
&& wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bookworm/winehq-bookworm.sources \
&& apt-get update \
&& apt-get install -y --install-recommends winehq-stable \
&& apt-get install -y xvfb --fix-missing \
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# KEn (Konspekt English)

## Donation/Funding

[https://send.monobank.ua/jar/5ad56oNAcD](https://send.monobank.ua/jar/5ad56oNAcD)

### Choose your language / Оберіть мову
- **[Українська](#toc-ua)**
- **[English](#toc-en)**

-------

Актуальна версія **KEn** (Konspekt English & Ukkrainian) доступна для вільного використання в науково-дослідних та педагогічних ціляз за посиланням: [https://konspekt.ai-service.pp.ua](https://konspekt.ai-service.pp.ua/)
Актуальна версія **KEn** (Konspekt English & Ukkrainian) доступна для вільного використання в науково-дослідних та педагогічних ціляз за посиланням: [https://ken.e-rehab.pp.ua/](https://ken.e-rehab.pp.ua//)

**Important note:** ken project and documentation are in active development. For any technical clarifications and questions contact us via email: [[email protected]](mailto:[email protected]) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://ken.e-rehab.pp.ua/](https://ken.e-rehab.pp.ua//) server.

**Important note:** ken project and documentation are in active development. For any technical clarifications and questions contact us via email: [[email protected]](mailto:[email protected]) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://konspekt.ai-service.pp.ua](https://konspekt.ai-service.pp.ua/) server.

Expand Down Expand Up @@ -984,7 +990,7 @@ jQuery.ajax({
<a name="toc-en"></a>
**KEn** (Konspekt English) is an NLP-powered Web service for contextual and semantic analysis with document taxonomy building feature.

**Important note:** ken project and documentation are in active development. For any technical clarifications and questions contact us via email: [[email protected]](mailto:[email protected]) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://konspekt.ai-service.pp.ua](https://konspekt.ai-service.pp.ua/) server.
**Important note:** ken project and documentation are in active development. For any technical clarifications and questions contact us via email: [[email protected]](mailto:[email protected]) or via Issues. The recent Russian's rocket shelling on critical infrastructure in Ukraine and Kyiv led to the shutdown of the [https://ken.e-rehab.pp.ua/](https://ken.e-rehab.pp.ua//) server.

### Table of Contents
- **[Features](#features-en)**
Expand Down
2 changes: 1 addition & 1 deletion templates/en.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Konspekt - v3.3.2</title>
<title>KEn - v3.3.3</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand Down
6 changes: 3 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Konspekt - v3.3.2</title>
<title>KEn - v3.3.3</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand All @@ -14,7 +14,7 @@
<div class="canvas-interactive-wrapper">
<canvas id="canvas-interactive"></canvas>
<div class="cta-wrapper">
<h1 style="color: black;">КОНСПЕКТ</h1>
<h1 style="color: black;">KEn (former Konspekt)</h1>
<h5>v3.3.2</h5>
<h2 style="color: black; width: 800px;">Контекстно-семантичний аналіз природно-мовних текстів та побудова таксономії документів</h2>
<a href="/ua" id="violet-state-cta" class="hvr-grow-shadow">Українська</a>
Expand All @@ -23,7 +23,7 @@ <h2 style="color: black; width: 800px;">Контекстно-семантичн
</div>
<footer class="footer">
<!-- <p class="text-center">Платформа Python 3.8 + Nginx + uWSGI + Flask + Wine</p> -->
<p class="text-center">VM Glushkov Institute of Cybernetics of NAS of Ukraine &copy; Copyright 2022</p>
<p class="text-center">Glushkov Institute of Cybernetics of the NAS of Ukraine &copy; Copyright 2023</p>
</footer>
</body>
<!-- ---------------------------------------------------------------------------------------------------- -->
Expand Down
2 changes: 1 addition & 1 deletion templates/ua.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Конспект - v3.3.2</title>
<title>KUa - v3.3.3</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="./static/images/favicon.png" />
<link rel="stylesheet" type="text/css" href="./static/bootstrap/css/flatly.bootstrap.css" media="screen" />
Expand Down

0 comments on commit 8aa6b32

Please sign in to comment.