update readme
This commit is contained in:
parent
2485c7ab7a
commit
a0efbfd06b
13
README.md
13
README.md
|
@ -6,18 +6,15 @@ Small web server to send Wake-on-LAN requests to its local network
|
||||||
- Binary includes everything except config
|
- Binary includes everything except config
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
Option 1: Run `go build` in this repository, results in a binary `./miniwol`.
|
Run `go get git.ulra.eu/adro/miniwol`, resulting in a binary `~/go/bin/miniwol`.
|
||||||
|
Move this binary to e.G. `/usr/bin/miniwol` to run it like any command.
|
||||||
|
|
||||||
Option 2: Run `go get git.ulra.eu/adro/miniwol`, results in a binary `~/go/bin/miniwol`.
|
Examples include a simply systemd service to have it start automatically.
|
||||||
|
|
||||||
Move the binary to e.G. `/usr/bin/miniwol` to run it like any command,
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Add an empty config. The program uses, in order of priority, `./config.toml`, `./config/config.toml` and `/etc/miniwol/config.toml`. Make sure miniwol can write to it.
|
Add an empty config. The program uses, in order of priority, `./config.toml`, `./config/config.toml` and `/etc/miniwol/config.toml`. Make sure miniwol can write to it as all persistant data is saved here.
|
||||||
|
|
||||||
Set a password using `miniwol setpass <password>`. This will also add any missing fields defaults to the config.
|
Set a password using `miniwol setpass <password>`. This will also add any missing defaults to the config.
|
||||||
|
|
||||||
Configure the devices you want to be able to wake up as per the [example](./example/config.toml).
|
|
||||||
|
|
||||||
Run the webserver using `miniwol` or `miniwol web` .
|
Run the webserver using `miniwol` or `miniwol web` .
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user