From 034f05201859c98ce482152c139f94a467574607 Mon Sep 17 00:00:00 2001 From: Alex Okolish Date: Fri, 11 Oct 2024 09:40:17 -0700 Subject: [PATCH] Update hello world instructions --- hasher-matcher-actioner/CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hasher-matcher-actioner/CONTRIBUTING.md b/hasher-matcher-actioner/CONTRIBUTING.md index db758ba07..b8087de9a 100644 --- a/hasher-matcher-actioner/CONTRIBUTING.md +++ b/hasher-matcher-actioner/CONTRIBUTING.md @@ -92,6 +92,12 @@ def hello_world(): return "Hello, world!\n" ``` +If your server is running, stop it by pressing Ctrl+C. Then, start the server and rebuild the image to pick up the changes: + +```bash +docker compose up --build +``` + Retry the `curl localhost:5000/hello`, you should now see your greeting message come back instead of the 404 error. ## Self-managed Python dev environment