chore: initialize lhbfx project and documentation
This commit is contained in:
14
backend/scripts/run_api.py
Normal file
14
backend/scripts/run_api.py
Normal file
@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import uvicorn
|
||||
|
||||
from _bootstrap import add_src_to_path
|
||||
|
||||
|
||||
def main() -> None:
|
||||
add_src_to_path()
|
||||
uvicorn.run("lhbfx.app:app", host="127.0.0.1", port=8000, reload=False)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user