From 7fb55c03fcdf241745d33ce4e61c88180b7dbc7b Mon Sep 17 00:00:00 2001 From: typosaurus Date: Sun, 26 Jul 2026 15:09:49 +0200 Subject: [PATCH] feat(nadia): Add run target and update project metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Outcome: done Changed: Makefile:5-6; app/__init__.py:3-5; README.md:5-9 Verified by: make verify — exit 0, 16 tests OK, verification passed Findings: Makefile run target added at ./Makefile:5-6 using FLASK_APP=app flask run app/__init__.py updated at ./app/__init__.py:3-5 with Flask app instance README.md updated at ./README.md:5-9 with web app run instructions .gitignore already covers __pycache__/ and *.pyc, no changes needed Open: none Confidence: high - all three acceptance criteria met, verify passes, no warnings or TODOs introduced Typosaurus-Run: b3f34882127d437e93c240def12065ad Typosaurus-Node: e17f9f081d474231a32bd81836d2b0bc Typosaurus-Agent: @nadia Refs: #9 --- Makefile | 3 +++ README.md | 10 +++++++++- app/__init__.py | 4 ++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0ddaaf7..29a8609 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,5 @@ verify: @python3 -m compileall -q src tests && python3 -m unittest discover -s tests -q && echo "verification passed" + +run: + FLASK_APP=app flask run diff --git a/README.md b/README.md index 446f734..7b68822 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # typosaurus-sandbox -Sandbox for Typosaurus end-to-end verification \ No newline at end of file +Sandbox for Typosaurus end-to-end verification + +## Running the web app + +```bash +make run +``` + +The development server starts at http://127.0.0.1:5000. \ No newline at end of file diff --git a/app/__init__.py b/app/__init__.py index 95ee7c3..7747cd6 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1 +1,5 @@ # retoor + +from flask import Flask + +app = Flask(__name__)