LaunchDarkly Sample Phoenix Framework Application
We've built a simple web application that demonstrates how LaunchDarkly's SDK works. Below, you'll find the basic build procedure, but for more comprehensive instructions, you can visit your Quickstart page.
- LaunchDarkly account and server SDK key
- LaunchDarkly boolean feature flag called "alternate.page"
Clone this repo
git clone https://github.com/launchdarkly/hello-phoenix.git
Start your Phoenix server
LD_SDK_KEY="YOUR_SDK_KEY" mix phx.server
Now you can visit
http://localhost:4000 from your browser.
To experience how different values of the
alternate.page flag would affect different users, visit
Learn more about LaunchDarkly
- Official website: https://launchdarkly.com
- Erlang SDK documentation: https://docs.launchdarkly.com/sdk/server-side/erlang