From c08a6e37b60a2fb31f76c27d1cb5c55d26899bf5 Mon Sep 17 00:00:00 2001 From: Rome Reginelli Date: Thu, 29 Aug 2019 14:07:30 -0700 Subject: [PATCH] Cleanup deb package build instructions - Stop code fence from splitting the bulleted list - Rephrase slightly for clarity --- .../installation/build-run-rippled-ubuntu.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/content/tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md b/content/tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md index 2f49db8562..0f8c6f633e 100644 --- a/content/tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md +++ b/content/tutorials/manage-the-rippled-server/installation/build-run-rippled-ubuntu.md @@ -209,12 +209,10 @@ Watchdog: Launching child 1 * For information about communicating with your `rippled` server using the `rippled` API, see the [`rippled` API reference](rippled-api.html). -* As a development best practice, you may want to build a `rippled` `.deb` package. The current CMake build has a deb (and rpm) package target defined that can be used to build a package from the source tree. You must have [docker installed](https://docs.docker.com/install/#supported-platforms) on the build machine in order to do this. The steps required to build the package are (*note*: this command can take an hour or more to complete): +* As a development best practice, you may want to build a `rippled` `.deb` package. You can use the CMake build's deb package target to build a `deb` package directly from the source tree. The build machine must have [Docker installed](https://docs.docker.com/install/#supported-platforms). This process may take more than an hour to complete. To build the `deb` package: -``` -mkdir -p build/pkg && cd build/pkg -cmake -Dpackages_only=ON ../.. -cmake --build . --target dpkg -``` + mkdir -p build/pkg && cd build/pkg + cmake -Dpackages_only=ON ../.. + cmake --build . --target dpkg * You may also want to install a `systemd` unit. For more information, see [systemd for Upstart Users](https://wiki.ubuntu.com/SystemdForUpstartUsers). You can use the [official `rippled` system unit file](https://github.com/ripple/rippled/blob/master/Builds/containers/shared/rippled.service) or modify it to suit your needs.