Skip to main content

From sources

This option is intended for experienced users who wish to contribute to the development of Djehooty or who need a very specific configuration. It requires the installation of several dependencies and a more advanced setup.

The following build procedures describe how to build and run the djehooty-backend and djehooty-frontend components separately, then djehooty-backend-standalone.

djehooty-backend

To build djehooty-backend from its sources, start by installing Go on your system, then run the following commands in your terminal:

git clone ssh://git@codeberg.org/Djehooty/djehooty-backend.git
cd djehooty-backend
make build

The djehooty-backend-prod executable is generated in the build folder.

You can run it with the following command:

./build/djehooty-backend-prod

djehooty-frontend

To build djehooty-frontend from its sources, make sure you have Node.js and npm installed on your system, then run the following commands in your terminal:

git clone ssh://git@codeberg.org/Djehooty/djehooty-frontend.git
cd djehooty-frontend
npm install
npm start

djehooty-backend-standalone

Building djehooty-backend-standalone requires a third Git repository to build the two previous components. Make sure you have the necessary dependencies installed for each of them (Go, Node.js, npm), then run the following commands in your terminal:

git clone https://codeberg.org/Djehooty/Djehooty.git
cd Djehooty
make standalone

The djehooty-standalone executable is generated in the ./backend/build folder.

You can run it with the following command:

./backend/build/djehooty-standalone