If you want to run the API and it's dependencies manually here's how to do it.
$ apt update && apt upgrade -y
$ apt install -y \
curl \
git \
openssl \
libssl-dev \
pkg-config \
ruby-full \
libfreetype-dev \
build-essential \
gcc \
libffi-dev \
fontconfig \
libfontconfig-dev \
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
$ cd ~
$ git clone https://github.com/Stay1444/iboardbot
$ cd iboardbot
$ cargo build --release
The binary will be in ./iboardbot/target/release/iboardbot
$ git clone https://github.com/sameer/svg2gcode
$ cd svg2gcode
$ cargo build --release
$ gem install text2svg
$ ./iboardbot --port 8080
Adding it as a SystemD service
TTF fonts used for text rendering go under the ./fonts
directory.
Board configurations, such as dimensions, go on the ./boards
directory.