Update README.md

This commit is contained in:
Ben Morgan 2023-08-21 18:58:15 -06:00 committed by GitHub
parent ee0a39588e
commit 7c95605190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,6 @@ MetricsAPI gets its data from shell commands. You will need to install the follo
`sensors` `sensors`
### Try It! ### Try It!
I run the following command to start the API. Keep in mind that I only run this on my local network and the API is not open to the internet. As per Flask documention --app run is not intended for production. You should follow a Flask app deployment procedure (there are tons of them online) if you wish to open your API to the world wide web. I run the following command to start the API. Keep in mind that I only run this on my local network and the API is not open to the internet. As per Flask documention `--app run` is not intended for production. You should follow a Flask app deployment procedure (there are tons of them online) if you wish to open your API to the world wide web.
`flask --app main run --host=0.0.0.0` `flask --app main run --host=0.0.0.0`