Skip to content
Snippets Groups Projects
Select Git revision
21 results Searching

build-deb.md

Blame
    • Benjamin Gallois's avatar
      eb590e1c
      Fix #200 (!267) · eb590e1c
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * remove /ws from listen address
      
      * fix error when user already exist
      
      * change binary to duniter2
      
      * add rpc-cors
      
      * add config documentation
      
      * add reference in service files
      
      * use embedded distance oracle
      
      * optimize ci
      
      * use docker cache
      
      * add systemd timer
      
      * add documentation
      
      * fix base_path default
      
      * add duniter user
      
      * add services
      
      * update docs
      
      * add deb package to ci
      
      * add deb docker building
      eb590e1c
      History
      Fix #200 (!267)
      Benjamin Gallois authored and Hugo Trentesaux's avatar Hugo Trentesaux committed
      * remove /ws from listen address
      
      * fix error when user already exist
      
      * change binary to duniter2
      
      * add rpc-cors
      
      * add config documentation
      
      * add reference in service files
      
      * use embedded distance oracle
      
      * optimize ci
      
      * use docker cache
      
      * add systemd timer
      
      * add documentation
      
      * fix base_path default
      
      * add duniter user
      
      * add services
      
      * update docs
      
      * add deb package to ci
      
      * add deb docker building

    How to Build Duniter-V2S Debian Package

    Compile packages for native integration for Debian-based systems.

    With Docker (on any system)

    1. Install Docker and Docker Buildx.
    2. Use the scripts/build-deb.sh script.
    3. The .deb packages will be located in the target/debian folder.

    Without Docker (on a Debian-based system)

    1. Install the necessary dependencies:
      sudo apt-get install -y clang cmake protobuf-compiler libssl-dev
    2. Compile the project:
      cargo build --release
    3. Install cargo-deb:
      cargo install cargo-deb
    4. Build the Duniter node .deb package:
      cargo deb --no-build -p duniter
    5. The .deb package will be located in the target/debian folder.