Skip to content

Commit 0bafa31

Browse files
committed
docs: update new_endpoint_tutorial
1 parent 822fdaa commit 0bafa31

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/new_endpoint_tutorial.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ the following:
6464

6565
# update the server
6666

67-
TODO sam
67+
1. create a new file in `/src/server/endpoints/` e.g., `fluview_meta.py` or copy and existing one.
68+
2. edit the created file `Blueprint("fluview_meta", __name__)` such that the first argument should match the target endpoint name
69+
3. edit the existing `/src/server/endpoints/__init__.py`, add the newly created file to the imports at the top and to the list of endpoints below.
70+
6871

6972
# update the client libraries
7073

0 commit comments

Comments
 (0)