Artifact 16ec7088c199f55a666a80bdf3009905ebc5b52fb5bf65ec0a8f414fe42a728f:
- File docker/vendor/nova/guides/building-releases.md — part of check-in [432128758e] at 2026-10-23 13:56:37 on branch Dev — feat(app): 初始代码 (user: pluto size: 854)
Building releases
Nova utilizes relx for building releases and has a particular profile defined for creating such. In a standard Nova-project there will be two profiles defined; devand prod. The dev-profile is used for local development and the prod-profile is used for building releases.
So in order to build a release for production, you would run the following command:
$ rebar3 as prod tar
This builds a release and archives it into a tar-file. As default erts is included in the release, but this can be configured through the options in rebar.config. To read more about release handling and configuration options we recommend reading relx-manual.
If you are inexperienced with building releases we recommend reading the relx-manual.