mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-29 10:13:57 +01:00
6 lines
151 B
Python
6 lines
151 B
Python
import sys
|
|
import os
|
|
|
|
port = sys.argv[1] if len(sys.argv) > 1 else 8000
|
|
os.system(f'cd api && uvicorn main:app --reload --host 0.0.0.0 --port {port}')
|