Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardparis committed Nov 14, 2024
1 parent d84332a commit 6a21690
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ The daemon contains the core logic of the wallet. It is both a library (a Rust c
command interface and a standalone UNIX daemon that exposes a JSONRPC API through a Unix Domain
Socket.

The code for the daemon can be found in the [`src/`](src/) folder at the root of this repository.
The code for the daemon can be found in the [`liana`](liana) folder.

#### Liana GUI

The GUI contains both an installer that guides a user through setting up a Liana wallet, as well as
a graphical interface to the daemon using the [`iced`](https://github.com/iced-rs/iced/) library.

The code for the GUI can be found in the [`gui/src/`](gui/src) folder.
The code for the GUI can be found in the [`liana-gui`](liana-gui) folder.


## Security
Expand Down
24 changes: 7 additions & 17 deletions doc/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,30 +68,20 @@ Some package managers distribute a version of `rustup`. Failing that, you can al

## Building the project

Once you've got Cargo, building the project is a simple `cargo` invocation away.
To build the whole wallet including the GUI, you'll need to install its [build and runtime
dependencies](https://github.com/wizardsardine/liana/tree/master/gui#dependencies) first.

To only build the daemon, run it from the root of the repository:
```
$ cargo build --release
```
The `lianad` and `liana-cli` binaries will be in the `target/` directory at the root of the
repository:
```
$ ls target/release/
build deps examples incremental liana-cli liana-cli.d lianad lianad.d libliana.d libliana.rlib
```
Then run:

To build the whole wallet including the GUI, you'll need to install its [build and runtime
dependencies](https://github.com/wizardsardine/liana/tree/master/gui#dependencies) first. Then run
the same command as above within the [`gui/`](../liana-gui/) folder present at the root of the repository:
```
$ cd liana-gui/
$ cargo build --release
```
The `liana-gui` binary will be in the root `target/` folder:
The `lianad`, `liana-cli` and `liana-gui` binaries will be in the `target/` directory at the root of the
repository as the exception for windows that only `liana-gui` will be built
(`lianad` and `liana-cli` relies on unix socket):
```
$ ls target/release/
build deps examples incremental liana-gui liana-gui.d libliana_gui.d libliana_gui.rlib
build deps examples incremental liana-cli liana-cli.d lianad lianad.d liana-gui liana-gui.d libliana.d libliana_gui.d libliana_gui.rlib libliana.rlib libliana_ui.d libliana_ui.rlib
```

Whether your are building the whole wallet or only the daemon, make sure not to forget the
Expand Down

0 comments on commit 6a21690

Please sign in to comment.