diff --git a/.gitignore b/.gitignore index 23c1eb9..9d3ae83 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ server.orig.key __pycache__ venv/ *.db +sql_app.db* .vscode/ diff --git a/run-tls-reload b/run-tls-reload new file mode 100755 index 0000000..ed23a8d --- /dev/null +++ b/run-tls-reload @@ -0,0 +1,4 @@ +#!/bin/bash + +source venv/bin/activate +exec uvicorn sql_app.main:app --ssl-certfile server.crt --ssl-keyfile server.key --port 4040 --host 0.0.0.0 --no-server-header --reload diff --git a/sql_app/tests/run-tests b/sql_app/tests/run-tests new file mode 100755 index 0000000..23e263f --- /dev/null +++ b/sql_app/tests/run-tests @@ -0,0 +1,4 @@ +#!/bin/bash + +source ../../venv/bin/activate +pytest