mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 18:33: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 2333
|
|
os.system(f'cd api && uvicorn main:app --reload --host 0.0.0.0 --port {port}')
|