neko/webpage/docs/developer-guide/build.md
2025-03-31 23:09:26 +02:00

1.2 KiB

description
Building Neko from source

Building From Source

This guide walks you through the process of setting up Neko on your local machine or server.

Start by cloning the Neko Git repository to your machine:

git clone https://github.com/m1k1o/neko.git
cd neko

Building the Frontend

Prerequisites for building the frontend:

Navigate to the client directory and install the dependencies:

cd client;
npm install;
npm run build;

The npm run build command will create a production build of the frontend in the client/build directory.

Building the Server

Prerequisites for building the server:

  • go (version 1.18 or higher)
  • Dependencies for building the server:
    sudo apt-get install -y --no-install-recommends libx11-dev libxrandr-dev libxtst-dev libgtk-3-dev libxcvt-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
    

Navigate to the server directory and build the server:

cd server;
./build;

This will create a binary file named neko in the bin directory along with plugins that were built with the server.