Release Configuration & Boot Scripts
Master sys.config and boot scripts to configure application environments and control the exact startup sequence of an Erlang release.
What Is Release Configuration?
A release bundles your applications, the Erlang runtime, and configuration. Two files drive runtime behaviour: sys.config for application settings and the boot script for the startup sequence.
The Application Environment
Each OTP application has an environment — a set of key/value parameters. You read them at runtime with application:get_env/2.
application:get_env(my_app, port).All lessons in this course
- Creating Erlang Releases
- Hot Code Loading & Upgrades
- Release Versioning & Deployment
- Release Configuration & Boot Scripts