Source code compilation

I downloaded chirpstack v4 source code locally and generated the build folder by make build-UI. How does docker use build folder to generate chirpstack image? I didn’t find the UI-related build folder in the chirpstack container

I’m not sure if I understand your question fully, but this is how the build works:

make build-ui

builds the front-end code. This creates a build folder in the ui directory.
Then RustEmbed is used to embed this code into the chirpstack binary:

This when you compile the chirpstack binary, all the UI files are embedded in the binary :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.