From 8af510292727967ee82c54a594358929094cf8ef Mon Sep 17 00:00:00 2001 From: Ivo Zilkenat <44005173+ivozilkenat@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:04:02 +0200 Subject: [PATCH] Update start_server.py --- start_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start_server.py b/start_server.py index ebebcda9..d5971dd2 100644 --- a/start_server.py +++ b/start_server.py @@ -9,10 +9,10 @@ def start_server(path=os.path.join(os.getcwd(), "server")): print("Activating the virtual environment") if sys.platform == "win32": # Windows requires a different command to activate the virtual environment - run_command(f'cd {path} && .\\venv\\Scripts\\activate && uvicorn main:app --port=3001') + run_command(f'cd {path} && .\\venv\\Scripts\\activate && uvicorn main:app --port=81') else: # Linux and macOS use this command - run_command(f'cd {path} && . venv/bin/activate && uvicorn main:app --port=3001') + run_command(f'cd {path} && . venv/bin/activate && uvicorn main:app --port=81') if __name__ == "__main__": start_server()