Skip to content
Дамјан Георгиевски edited this page May 3, 2020 · 2 revisions

If you want to build this project for another distribution than your current one, you can use docker (or podman).

docker run -it --rm -v $PWD:/src/ debian:10

apt update
apt install -y --no-install-recommends git curl ca-certificates erlang-nox erlang-dev

curl -o /rebar3 https://s3.amazonaws.com/rebar3/rebar3
chmod +x /rebar3


# let's build it
export REBAR_BASE_DIR=/opt/ircbot
cd /src/
/rebar3 compile

# and make a release
/rebar3 release

# let's check if it works
/opt/ircbot/default/rel/ircbot/bin/ircbot -conf /src/settings.config
Clone this wiki locally