helper scripts

Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
HeshamTB 2022-06-06 20:07:26 +03:00
parent 7c94abebe5
commit 317b3825c3
Signed by: Hesham
GPG Key ID: 74876157D199B09E
3 changed files with 9 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,4 +5,5 @@ server.orig.key
__pycache__
venv/
*.db
sql_app.db*
.vscode/

4
run-tls-reload Executable file
View File

@ -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

4
sql_app/tests/run-tests Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
source ../../venv/bin/activate
pytest