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
Copy file name to clipboardExpand all lines: README.md
+29Lines changed: 29 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ The unit tests can be run through pytest with
52
52
poetry run pytest
53
53
```
54
54
55
+
55
56
## Building Docs
56
57
57
58
The API uses the sphinx documentation formation. To build the documentation, first [install sphinx](https://www.sphinx-doc.org/en/master/usage/installation.html).
@@ -62,3 +63,31 @@ Then,
62
63
cd docs
63
64
make build
64
65
```
66
+
67
+
## Running
68
+
69
+
When the API is running, the following pages can be used to play with the endpoint
70
+
71
+
Visit the redoc page at http://127.0.0.1:8080/redoc
72
+
73
+
Visit the swagger page at http://127.0.0.1:8080/docs
74
+
75
+
76
+
The API can be run locally when developing. To run,
77
+
78
+
### For local Development
79
+
80
+
#### Non-Docker
81
+
82
+
```bash
83
+
poetry install
84
+
poetry run uvicorn kwg_api.main:app --reload --port 80
85
+
```
86
+
87
+
### With Docker
88
+
89
+
The API can also be run using the `docker-compose.dev.yaml` file with
0 commit comments