To develop - run uvicorn main:app --reload --host 127.0.0.1 --port 80
to get a development server with a reloader
Run uvicorn main:app --host 127.0.0.1 --port 80
. This will run the server in a production environment.
To upload to production, remember to change the host
and port
to the correct values, matching the production environment.