Skip to content

launchdarkly/hello-phoenix

Repository files navigation

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.

Prerequisites

  • Elixir
  • npm
  • LaunchDarkly account and server SDK key
  • LaunchDarkly boolean feature flag called "alternate.page"

Run

Clone this repo

git clone https://github.com/launchdarkly/hello-phoenix.git

Install dependencies

mix deps.get

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

Learn more about Phoenix Framework

Releases

No releases published

Packages

No packages published

Contributors 5