Update README for Windows
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sijmen 2023-04-28 12:49:07 +02:00
parent 1f0b5b4ded
commit 2c248dcaa0
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 10 additions and 5 deletions

View File

@ -6,11 +6,11 @@
## Configuration
Empede is configured using environment variables:
| Name | Default | Description |
| ----------- | ------------ | --------------------------------- |
| MPD_HOST | localhost | MPD server host |
| MPD_PORT | 6600 | MPD server port |
| EMPEDE_BIND | 0.0.0.0:8080 | Address for Empede to bind to |
| Name | Default | Description |
| --------------- | ------------ | --------------------------------- |
| **MPD_HOST** | localhost | MPD server host |
| **MPD_PORT** | 6600 | MPD server port |
| **EMPEDE_BIND** | 0.0.0.0:8080 | Address for Empede to bind to |
## Running
### Linux
@ -18,6 +18,11 @@ Empede is configured using environment variables:
2. Run `./empede` (To specify a host and port, run `MPD_HOST=ip MPD_PORT=6600 ./empede`)
3. Go to http://localhost:8080
### Windows
1. Download and extract the [latest release](https://git.sijman.nl/_/empede/releases)
3. Run `.\empede` in a PowerShell (To specify a host and port, first set the `$env:MPD_HOST` and `$env:MPD_PORT` variables)
3. Go to http://localhost:8080
### Building from source
1. Make sure Rust is installed (https://rustup.rs/)
2. Run `cargo run` (To specify a host and port, run `MPD_HOST=ip MPD_PORT=6600 cargo run`)