From 7f98e9256b6fa3f1f8b4c4457fabd42c0a03d01e Mon Sep 17 00:00:00 2001 From: "oni@bor" Date: Mon, 5 Jan 2026 23:51:35 +0100 Subject: [PATCH] create project dir --- Dockerfile | 4 ++-- app.py => fastionary/app.py | 0 {templates => fastionary/templates}/trans.html | 0 todo.md | 10 ++++++---- 4 files changed, 8 insertions(+), 6 deletions(-) rename app.py => fastionary/app.py (100%) rename {templates => fastionary/templates}/trans.html (100%) diff --git a/Dockerfile b/Dockerfile index 2a504ce..3339840 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ WORKDIR /app #COPY app.py /app/app.py COPY . . -RUN pip install flask +RUN pip install flask pytest coverage EXPOSE 5000 -CMD [ "python3", "app.py" ] +CMD [ "python3", "fastionary/app.py" ] diff --git a/app.py b/fastionary/app.py similarity index 100% rename from app.py rename to fastionary/app.py diff --git a/templates/trans.html b/fastionary/templates/trans.html similarity index 100% rename from templates/trans.html rename to fastionary/templates/trans.html diff --git a/todo.md b/todo.md index 9eef8a8..53850ee 100644 --- a/todo.md +++ b/todo.md @@ -9,10 +9,6 @@ - [ ] from - [ ] to - [ ] word -- [ ] refine translation - - [ ] output more than one results - - [ ] cut away leading spaces - - [ ] fuzzy find asem - asɛm ## v0.0.2 - [ ] use database sqlite? mongodb? @@ -26,3 +22,9 @@ ## v0.0.4 - [ ] deploy - [ ] https://flask.palletsprojects.com/en/stable/tutorial/deploy/ + +## v0.0.5 +- [ ] refine translation + - [ ] output more than one results + - [ ] cut away leading spaces + - [ ] fuzzy find asem - asɛm