Building¶
How to build each Applikant component.
Prerequisites¶
| Tool | Version | Purpose |
|---|---|---|
| Erlang/OTP | 27+ | Backend |
| Rebar3 | 3.x | Erlang build tool |
| Elm | 0.19.1 | Web frontend |
| Docker | 20+ | Builder, containerization |
Components¶
am – Manager¶
cd applikant.manager/am
rebar3 compile # compile only
rebar3 shell # compile + start interactive shell
rebar3 as prod tar # production release
af – Frontend Connector¶
as – SSH Handler¶
ah – Git Hooks¶
aw – Web Frontend¶
# 1. Build Elm frontend
cd applikant.webfrontend/elm
bash build-elm.sh
# Output: ../aw/apps/aw/priv/static/app.js
# 2. Build and start Erlang backend
cd ../aw
rebar3 shell
The Elm source is split into modules under elm/src/ (Main, Types, Shared, Page/Dashboard, Page/Repositories, Page/Users).