mirror of
https://github.com/mikedilger/gossip.git
synced 2024-10-01 09:21:53 +00:00
Update readme for OS deps
This commit is contained in:
parent
6acff785c6
commit
8d4d944f4a
27
README.md
27
README.md
@ -95,13 +95,23 @@ This is a trade off that works for the developer, who wants a reliable and secur
|
|||||||
|
|
||||||
If you don't already have rust installed, follow the guidance at [rust-lang.org](https://www.rust-lang.org/).
|
If you don't already have rust installed, follow the guidance at [rust-lang.org](https://www.rust-lang.org/).
|
||||||
|
|
||||||
### Step 2 - Clone this Repository
|
### Step 2 - Install some dependencies
|
||||||
|
|
||||||
|
Most dependencies are probably already installed in your base operating system. Here are a few that sometimes arent:
|
||||||
|
|
||||||
|
- build essentials like gcc and make (debian: "build-essential")
|
||||||
|
- cmake (debian: "cmake")
|
||||||
|
- pkg-config (debian: "pkg-config")
|
||||||
|
- openssl (debian: "libssl-dev")
|
||||||
|
- fontconfig (debian: "libfontconfig1-dev")
|
||||||
|
|
||||||
|
### Step 3 - Clone this Repository
|
||||||
|
|
||||||
````bash
|
````bash
|
||||||
$ git clone https://github.com/mikedilger/gossip
|
$ git clone https://github.com/mikedilger/gossip
|
||||||
````
|
````
|
||||||
|
|
||||||
### Step 3 - Compile
|
### Step 4 - Compile
|
||||||
|
|
||||||
````bash
|
````bash
|
||||||
$ cd gossip
|
$ cd gossip
|
||||||
@ -114,7 +124,7 @@ Everything gossip needs (fonts, icons) is baked into this executable. It doesn't
|
|||||||
|
|
||||||
To make the binary smaller
|
To make the binary smaller
|
||||||
|
|
||||||
````base
|
````bash
|
||||||
$ strip gossip
|
$ strip gossip
|
||||||
````
|
````
|
||||||
|
|
||||||
@ -126,6 +136,17 @@ If you want a binary optimized for your exact processor with the newest features
|
|||||||
$ RUSTFLAGS="-C target-cpu=native --cfg tokio_unstable" cargo build --release
|
$ RUSTFLAGS="-C target-cpu=native --cfg tokio_unstable" cargo build --release
|
||||||
````
|
````
|
||||||
|
|
||||||
|
### Step 5 - Do it all again
|
||||||
|
|
||||||
|
The `master` branch changes quickly. When you want to update
|
||||||
|
|
||||||
|
````bash
|
||||||
|
$ git pull
|
||||||
|
$ cargo build --release
|
||||||
|
$ strip ./target/release/gossip
|
||||||
|
$ ./target/release/gossip
|
||||||
|
````
|
||||||
|
|
||||||
## Technology Involved
|
## Technology Involved
|
||||||
|
|
||||||
- Rust Language
|
- Rust Language
|
||||||
|
Loading…
Reference in New Issue
Block a user