diff --git a/docs/getting_started.md b/docs/getting_started.md index 64aaa7e..83dc89d 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -103,9 +103,37 @@ ## Quick Starter with Running in Your Laptop - [Install and run Docker](https://docs.docker.com/engine/install/) -- Start a NGINX Lambda Gateway -- Stop a NGINX Lambda Gateway +- Start a NGINX Lambda Gateway container + ```bash + make start + ``` + +- Check if a NGINX Lambda Gateway container is running + ```bash + make watch + ``` + + ![](./img/make-watch.png) + +- Invoke a Lambda Function ARN via NGINX Lambda Gateway + + ```bash + curl --location 'http://localhost/2015-03-31/functions/foo/invocations' \ + --header 'Content-Type: application/json' \ + --data '{ + "message": "This is a sample message" + }' + ``` + +- Stop a NGINX Lambda Gateway container + ```bash + make down + ``` + - Clean a NGINX Lambda Gateway Container Image + ```bash + make clean + ``` ## Running as a Systemd Service - TBD diff --git a/docs/img/make-watch.png b/docs/img/make-watch.png new file mode 100644 index 0000000..7fbdfff Binary files /dev/null and b/docs/img/make-watch.png differ