summaryrefslogtreecommitdiff
path: root/src/flagd-ui/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/flagd-ui/README.md')
-rw-r--r--src/flagd-ui/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/flagd-ui/README.md b/src/flagd-ui/README.md
new file mode 100644
index 0000000..aeb80db
--- /dev/null
+++ b/src/flagd-ui/README.md
@@ -0,0 +1,21 @@
+# Flagd-ui
+
+This application provides a user interface for configuring the feature
+flags of the flagd service.
+
+This is a [Phoenix](https://www.phoenixframework.org/) project.
+
+## Running the application
+
+The application can be run with the rest of the demo using the documented
+[docker compose or make commands](https://opentelemetry.io/docs/demo/#running-the-demo).
+
+## Local development
+
+* Run `mix setup` to install and setup dependencies
+* Create a `data` folder: `mkdir data`.
+* Copy [../flagd/demo.flagd.json](../flagd/demo.flagd.json) to `./data/demo.flagd.json`
+ * `cp ../flagd/demo.flagd.json ./data/demo.flagd.json`
+* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
+
+Now you can visit `localhost:4000` from your browser.