You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The app must be up and running in order for web service calls and the link to the API documentation to work.
17
+
**IMPORTANT: The app must be up and running in order for these links to work.**
18
+
19
+
Root URL: <http://localhost:5000/>
20
+
21
+
For the list of endpoints, see the Swagger UI API documentation at <http://localhost:5000/api/doc>.
22
+
23
+
### Startup
19
24
20
25
#### Run locally at the terminal
21
26
1. Go to the root directory of this project in the terminal.
@@ -25,14 +30,19 @@ The app must be up and running in order for web service calls and the link to th
25
30
26
31
#### Deploy to Docker
27
32
28
-
You should have Docker Desktop installed at your machine.
33
+
**WARNING: This app was designed to be deployed to a machine with Docker Desktop installed. It has not been tested on cloud Docker services and thus is not guaranteed to work there.**
29
34
30
-
Command: `docker compose up --build -d`
35
+
This app may be deployed by either of the following methods:
36
+
1. Local deployment at the terminal
37
+
- Command: `docker compose up --build -d`
38
+
2. Search for image `ccwong4869/python-webservice-demo` and pull
39
+
- Public view at Docker Hub: <https://hub.docker.com/r/ccwong4869/python-webservice-demo>
40
+
- Note: This image is for the latest version of the `master` branch.
0 commit comments