From 51febb7b7c2af9892e092b8daf41bffbec1f9f84 Mon Sep 17 00:00:00 2001 From: Cedric Sirianni Date: Tue, 19 Dec 2023 01:08:58 -0500 Subject: [PATCH] docss: update backend README --- backend/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backend/README.md b/backend/README.md index 0b711a7..56f4cc4 100644 --- a/backend/README.md +++ b/backend/README.md @@ -2,19 +2,19 @@ ## Configuration -In `/backend`, install conan: +In `/backend`, start by installing [Conan](https://conan.io/): ```bash brew install conan cmake conan install . --output-folder=build --build=missing ``` -Set up the `/build` folder: +You probably need to create a default profile. Use `conan profile detect`. + +Next, link and compile the program: ```bash -mkdir build && cd build -cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -cmake --build . +make build ``` From `/backend`, start the server. Use the `--build` flag to create or rebuild a database for the breached passwords or omit it to use an existing one: