mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-14 09:04:44 +08:00
commit
548977cc18
2 changed files with 16 additions and 5 deletions
|
@ -61,11 +61,9 @@ In future releases, we have plans to support other platforms such as Windows and
|
||||||
6. . Click "Create Network" and fill out the details
|
6. . Click "Create Network" and fill out the details
|
||||||
7. You are now ready to begin using Netmaker. Create a key or enable manual node sign up so that your nodes can connect.
|
7. You are now ready to begin using Netmaker. Create a key or enable manual node sign up so that your nodes can connect.
|
||||||
|
|
||||||
#### On your machines [TODO - This will be updated within the next 24 hours with an install script]:
|
#### On your machines :
|
||||||
1. Get the binary: `curl -vLJO -H 'Authorization: token YOUR_ACCESS_TOKEN' 'https://github.com/gravitl/netmaker/releases/download/v0.1/netclient'`
|
Run the following: `curl -sfL https://raw.githubusercontent.com/gravitl/netmaker/v0.1/netclient-install.sh | SERVER_URL=<your server ip>:50051 NET_NAME=<your network name> KEY=<your access key> sh -`
|
||||||
10. Make it executable: `sudo chmod +x netclient`
|
(Note: Key can be left out if manual node signup is enabled)
|
||||||
11. Run the install command: `sudo ./netclient -c install -g <group name> -s <server:port> -k <key value>`
|
|
||||||
|
|
||||||
|
|
||||||
#### LICENSE
|
#### LICENSE
|
||||||
|
|
||||||
|
|
13
netclient-install.sh
Executable file
13
netclient-install.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
[ -z "$SERVER_URL" ] && echo "Need to set SERVER_URL" && exit 1;
|
||||||
|
[ -z "$NET_NAME" ] && echo "Need to set NET_NAME" && exit 1;
|
||||||
|
[ -z "$KEY_VALUE" ] && KEY=nokey;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
wget -O netclient https://github.com/gravitl/netmaker/releases/download/v0.1/netclient
|
||||||
|
chmod +x netclient
|
||||||
|
sudo ./netclient -c install -s $SERVER_URL -g $NET_NAME -k $KEY
|
||||||
|
rm -f netclient
|
Loading…
Add table
Reference in a new issue