helper scripts
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
7c94abebe5
commit
317b3825c3
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,4 +5,5 @@ server.orig.key
|
|||||||
__pycache__
|
__pycache__
|
||||||
venv/
|
venv/
|
||||||
*.db
|
*.db
|
||||||
|
sql_app.db*
|
||||||
.vscode/
|
.vscode/
|
||||||
|
4
run-tls-reload
Executable file
4
run-tls-reload
Executable 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
4
sql_app/tests/run-tests
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source ../../venv/bin/activate
|
||||||
|
pytest
|
Loading…
Reference in New Issue
Block a user