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
If you don't want to install from LuaRocks, it's possible to compile the modules locally using `luarocks make`.
95
+
If you don't want to install from LuaRocks, it's possible to compile the modules locally in this git repo by using `luarocks make`.
85
96
86
97
**Install the base SDK only**
87
98
```bash
@@ -103,7 +114,7 @@ Read our [documentation](https://docs.launchdarkly.com) for in-depth instruction
103
114
Testing
104
115
-------
105
116
106
-
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
117
+
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
# LaunchDarkly Lua server-side SDK HAProxy example
2
+
3
+
We've built a minimal dockerized example of using the Lua SDK with [HAProxy](https://www.haproxy.org/). For more comprehensive instructions, you can visit the [Using the Lua SDK with HAProxy guide](https://docs.launchdarkly.com/guides/sdk/haproxy) or the [Lua reference guide](https://docs.launchdarkly.com/sdk/server-side/lua).
4
+
5
+
## Build instructions
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 .`.
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
+
4. Open `localhost:8123` in your browser. Toggle the flag on to see a change in the page (refresh the page.)
0 commit comments