Собрать HTTP API на Flask и точку запуска Waitress

This commit is contained in:
2026-11-16 21:47:35 +00:00
parent c0613925c8
commit d876930498
5 changed files with 152 additions and 0 deletions
+8
View File
@@ -24,3 +24,11 @@ load:
test-persistence:
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable restart hook"; exit 2)
$(PYTHON) tests/resilience.py --mode persistence --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
.PHONY: run migrate student-test
run:
$(PYTHON) -m messenger
migrate:
$(PYTHON) -m messenger.migrate
student-test:
$(PYTHON) -m unittest discover -s student-tests -v