Skip to content

Commit

Permalink
docss: update backend README
Browse files Browse the repository at this point in the history
  • Loading branch information
csirianni committed Dec 19, 2023
1 parent 9e14cb2 commit 51febb7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 51febb7

Please sign in to comment.