initial commit for GitHub
This commit is contained in:
12
server/app/scripts/run.py
Normal file
12
server/app/scripts/run.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def main() -> None:
|
||||
print("starting app in development mode")
|
||||
curr_dir = Path(__file__).resolve().parent.absolute()
|
||||
script = curr_dir / "run.sh"
|
||||
try:
|
||||
subprocess.run(["sh", script], check=True)
|
||||
except KeyboardInterrupt:
|
||||
return
|
||||
Reference in New Issue
Block a user