Conduit UI is the web front-end for Conduit built with Ember.
The UI application is a standard Ember application that is simply rooted in the ui
directory of the Conduit project.
The UI can then be built and embedded into Conduit's binary during a Conduit build.
You will need the following things properly installed on your computer.
git clone [email protected]:ConduitIO/conduit.git
the Conduit repositorycd conduit
make ui-dependencies
Note: Commands in this readme are run from the Conduit project root. Alternatively, you can change into the ui/
directory to directly use Yarn, Ember CLI, or non-prefixed UI Makefile commands.
Before running Conduit UI, you must make sure the Conduit server is running
make run
Alternatively, if you'd like to develop the UI against the Conduit server binary
make build
./conduit
to run the built binary server
After confirming that Conduit server is running locally, you can now run the UI
make ui-server
- Visit your app at http://localhost:4200.
make ui-test
make ui-lint
make ui-lint-fix
Conduit UI is built and embedded into the server's binary using Go embed directives. To build the binary with the embedded UI
make build-with-ui
This will build the production UI asset bundle, output it to pkg/web/ui/dist
, and build the server binary embedded
with the bundle.