You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tooling.apache.org by tn...@apache.org on 2025/02/14 17:32:56 UTC

(tooling-atr-experiments) branch main updated: enable debug and reload when running serve

This is an automated email from the ASF dual-hosted git repository.

tn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-atr-experiments.git


The following commit(s) were added to refs/heads/main by this push:
     new d7e7750  enable debug and reload when running serve
d7e7750 is described below

commit d7e7750d7bcb957846d6f419d7b59e130a1a6742
Author: Thomas Neidhart <tn...@apache.org>
AuthorDate: Fri Feb 14 18:32:38 2025 +0100

    enable debug and reload when running serve
---
 Makefile               | 2 +-
 atr/db/__init__.py     | 0
 atr/{ => db}/models.py | 0
 atr/db/service.py      | 0
 4 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2efe898..c8794a7 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ report:
 	@echo SCRIPTS = $(SCRIPTS)
 
 serve:
-	$(SCRIPTS)/run hypercorn --bind $(BIND) --keyfile key.pem --certfile cert.pem atr:app
+	$(SCRIPTS)/run hypercorn --bind $(BIND) --keyfile key.pem --certfile cert.pem atr:app --debug --reload
 
 sync:
 	$(SCRIPTS)/sync $(PYTHON)
diff --git a/atr/db/__init__.py b/atr/db/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/atr/models.py b/atr/db/models.py
similarity index 100%
rename from atr/models.py
rename to atr/db/models.py
diff --git a/atr/db/service.py b/atr/db/service.py
new file mode 100644
index 0000000..e69de29


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org