mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-06-01 11:28:27 +02:00
Merge branch 'master' into master
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# Wireguard UI
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2FEmbarkStudios%2Fwireguard-ui?ref=badge_shield)
|
||||
|
||||
[](https://buildkite.com/embark-studios/wireguard-ui)
|
||||
|
||||
A basic web UI for managing Wireguard clients.
|
||||
|
||||
@@ -11,5 +12,22 @@ A basic web UI for managing Wireguard clients.
|
||||
* Expiration
|
||||
|
||||
|
||||
## Developing
|
||||
|
||||
### Start frontend server
|
||||
```
|
||||
npm install --prefix=ui
|
||||
npm run --prefix=ui dev
|
||||
```
|
||||
|
||||
### Use frontend server when running the server
|
||||
|
||||
```
|
||||
go get -u github.com/go-bindata/go-bindata/...
|
||||
go get github.com/elazarl/go-bindata-assetfs/...
|
||||
go-bindata-assetfs -prefix ui/public ui/public
|
||||
go build .
|
||||
sudo ./wireguard-ui --log-level=debug --dev-ui-server http://localhost:5000
|
||||
```
|
||||
## License
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2FEmbarkStudios%2Fwireguard-ui?ref=badge_large)
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2FEmbarkStudios%2Fwireguard-ui?ref=badge_large)
|
||||
|
||||
Reference in New Issue
Block a user