-
Notifications
You must be signed in to change notification settings - Fork 0
Building from source
Note: Building is only supported on linux. Other systems are considered unsupported and the build process is not guaranteed to work!
The following packages are needed for building.
- Go 1.19 or 1.20
- make
- libpam
- yarn
The remaining dependencies are automatically installed by go. Thus, an active internet connection is needed to build the project reliably.
sudo dnf install golang make pam-devel
sudo apt update
sudo apt install golang make libpam0g-dev npm
npm install --global yarn
sudo apt update
Add the following line to your /etc/apt/sources.list
-file:
deb http://deb.debian.org/debian bullseye-backports main
sudo apt update
sudo apt install -t bullseye-backports golang-1.19
export PATH=$PATH:/usr/lib/go-1.19/bin
sudo apt install make libpam0g-dev npm
npm install --global yarn
sudo apt update
sudo apt install golang-1.19 libpam0g-dev npm make
export PATH=$PATH:/usr/lib/go-1.19/bin
npm install --global yarn
To build the project run the following command in the project's root directory:
make build
To package the project you need to be running a Debian system and have dpkg-deb
installed.
If you want to build the package, run:
make package/deb
You'll find the package in the package/deb
folder.
The compiled binary can be found in the bin
folder
When running the project without using the .deb package, make sure to create a valid config file and the plugins folder. Otherwise, the application will not start!
- Home
- Backend Documentation
- Frontend Documentation
- Protocol Documentation
- Reflection