From 446039a315e8103f9dd7b2afaac5a444561cd798 Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Thu, 7 Jan 2021 19:45:39 -0600 Subject: [PATCH] Add documentation section for how to build in admin (#604) * Add documentation section for how to build in admin * add missing backtick --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e06af70cd..7926a7857 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,17 @@ Read [more detailed documentation about configuration of S3-compatible services] There is also a supplied `Dockerfile` so you can spin it up from source with little effort. [Read more about running from source](https://owncast.online/docs/building/). + +### Bundling in latest admin from source + +The admin ui is built at: https://github.com/owncast/owncast-admin it is bundled into the final binary using pkger. + +To bundle in the latest admin UI: + +1. Install pkger. `go install github.com/markbates/pkger/cmd/...` +1. From the owncast directory run the packager script: `./build/admin/bundleAdmin.sh` +1. Compile or run like above. `go run main.go pkged.go` + ## License