Browse Source

* Update project name to wg-manager

pull/5/head
Per-Arne 5 years ago
parent
commit
9475cd99e5
  1. 4
      README.md
  2. 6
      docs/guides/docker_configuration.md
  3. 4
      docs/install.md
  4. 10
      wg_dashboard_frontend/.github/CONTRIBUTING.md
  5. 2
      wg_dashboard_frontend/src/app/page/dashboard/server/server.component.html

4
README.md

@ -30,8 +30,8 @@ The features of wg-manager includes:
## Method #1: Docker-compose
```yaml
wireguard:
container_name: wireguard-manager
image: perara/wireguard-manager
container_name: wg-manager
image: perara/wg-manager
cap_add:
- NET_ADMIN
#network_mode: host # Alternatively

6
docs/guides/docker_configuration.md

@ -2,12 +2,12 @@
```bash
docker run -d \
--cap-add NET_ADMIN \
--name wireguard-manager \
--name wg-manager \
--net host \
-p "51800-51900:51800-51900/udp" \
-v wireguard-manager:/config \
-v wg-manager:/config \
-e PORT="8888" \
-e ADMIN_USERNAME="admin" \
-e ADMIN_PASSWORD="admin" \
perara/wireguard-manager
perara/wg-manager
```

4
docs/install.md

@ -40,8 +40,8 @@ sudo apt install wireguard wireguard-tools -y
## 3. Building front-end
```
# Building frontend
sudo git clone https://github.com/perara/wireguard-manager.git /opt/wireguard-manager
cd /opt/wireguard-manager/wg_dashboard_frontend
sudo git clone https://github.com/perara/wg-manager.git /opt/wg-manager
cd /opt/wg-manager/wg_dashboard_frontend
sudo npm install > /dev/null && sudo npm install @angular/cli > /dev/null
sudo node_modules/@angular/cli/bin/ng build --configuration="production" > /dev/null
```

10
wg_dashboard_frontend/.github/CONTRIBUTING.md

@ -1,10 +1,10 @@
## How to contribute to wireguard-manager
## How to contribute to wg-manager
#### **Did you find a bug?**
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/perara/wireguard-manager/issues).
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/perara/wg-manager/issues).
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/perara/wireguard-manager/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** demonstrating the expected behavior that is not occurring.
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/perara/wg-manager/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** demonstrating the expected behavior that is not occurring.
* If possible, use the [bug report template](.github/ISSUE_TEMPLATE.md) to create the issue.
@ -16,7 +16,7 @@
#### **Do you intend to add a new feature or change an existing one?**
* Send a [GitHub Pull Request](https://github.com/perara/wireguard-manager/pull/new) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). Please follow our coding conventions (below) and make sure all of your commits are atomic (one feature per commit).
* Send a [GitHub Pull Request](https://github.com/perara/wg-manager/pull/new) with a clear list of what you've done (read more about [pull requests](http://help.github.com/pull-requests/)). Please follow our coding conventions (below) and make sure all of your commits are atomic (one feature per commit).
* We use [Karma commit message convention](http://karma-runner.github.io/0.13/dev/git-commit-msg.html). Please follow it.
@ -24,7 +24,7 @@
#### **Do you have questions about the source code?**
* Ask any question about how to use wireguard-manager in the [Issues](https://github.com/perara/wireguard-manager/issues).
* Ask any question about how to use wg-manager in the [Issues](https://github.com/perara/wg-manager/issues).
Thanks! :heart: :heart: :heart:

2
wg_dashboard_frontend/src/app/page/dashboard/server/server.component.html

@ -127,7 +127,7 @@
</td>
</tr>
<tr [hidden]="peer !== selectedPeer">
<td colspan="6">

Loading…
Cancel
Save