Update README.md
This commit is contained in:
11
README.md
11
README.md
@@ -34,17 +34,22 @@ this approach eliminates process spawning overhead and temporary file locking, r
|
|||||||
## setup
|
## setup
|
||||||
|
|
||||||
1. build the project:
|
1. build the project:
|
||||||
|
```
|
||||||
|
$ git clone https://git.narl.io/nvrl/fluxo-rs
|
||||||
$ cd fluxo-rs
|
$ cd fluxo-rs
|
||||||
$ cargo build --release
|
$ cargo build --release
|
||||||
|
```
|
||||||
|
|
||||||
2. start the daemon:
|
2. start the daemon:
|
||||||
$ ./target/release/fluxo-rs daemon &
|
`$ ./target/release/fluxo-rs daemon &`
|
||||||
|
|
||||||
3. configure waybar (config.jsonc):
|
3. configure waybar (config.jsonc):
|
||||||
|
```
|
||||||
"custom/cpu": {
|
"custom/cpu": {
|
||||||
"exec": "/path/to/fluxo-rs cpu",
|
"exec": "/path/to/fluxo-rs cpu",
|
||||||
"return-type": "json"
|
"return-type": "json"
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## development
|
## development
|
||||||
|
|
||||||
@@ -63,7 +68,7 @@ this approach eliminates process spawning overhead and temporary file locking, r
|
|||||||
|
|
||||||
### build and debug
|
### build and debug
|
||||||
build for release:
|
build for release:
|
||||||
$ cargo build --release
|
`$ cargo build --release`
|
||||||
|
|
||||||
run with debug logs:
|
run with debug logs:
|
||||||
$ RUST_LOG=debug ./target/release/fluxo-rs daemon
|
`$ RUST_LOG=debug ./target/release/fluxo-rs daemon`
|
||||||
|
|||||||
Reference in New Issue
Block a user