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
|[hello-lua-server](./examples/hello-lua-server)| Demonstrates basic example of Lua SDK usage from the command line. |
58
+
|[hello-haproxy](./examples/hello-haproxy)| Demonstrates usage of the Lua SDK as a [HAproxy](https://www.haproxy.org/) module via Docker. |
59
+
|[hello-nginx](./examples/hello-nginx)| Demonstrates usage of the Lua SDK as a [nginx OpenResty](https://github.com/openresty/openresty) module via Docker. |
59
60
60
61
61
62
Before you start using the SDK, you'll need to install it.
Copy file name to clipboardExpand all lines: examples/hello-haproxy/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ We've built a minimal dockerized example of using the Lua SDK with [HAProxy](htt
4
4
5
5
## Build instructions
6
6
7
-
1. On the command line from the root of the repo, build the image from this directory with `docker build -t hello-haproxy -f ./examples/hello-haproxy/Dockerfile .`.
7
+
1. On the command line from the **root** of the repo, build the image from this directory with `docker build -t hello-haproxy -f ./examples/hello-haproxy/Dockerfile .`.
3. **Note:** the SDK key and flag key are passed with environment variables into the container. The `LD_FLAG_KEY` should be a boolean-type flag in your environment.
13
13
4. Open `localhost:8123`in your browser. Toggle the flag on to see a change in the page (refresh the page.)
14
14
15
15
You should receive the message:
16
-
> Feature flag is <true/false> for this user.
16
+
> Feature flag is <true/false>for this user context
0 commit comments