Outliner
Auto setup & deploy tool for outline VPN server
![asciicast](https://asciinema.org/a/265622.svg)
Auto setup & deploy tool for outline VPN server
Usage:
outliner [command]
Available Commands:
create create a Server
deploy deploy outliner to Server
destroy destroy a Server
help Help about any command
inspect inspect Server
list list following [command]
version show outliner version
Flags:
-F, --file string config file (default is $HOME/.outliner/.env)
-h, --help help for outliner
Use "outliner [command] --help" for more information about a command.
Contents
Download
download from latest release
Install
Configuration
Steps
-
you will need API-TOKEN
from cloud providers, like Linode
, DigitalOcean
and etc.
-
write .env
config file, refer to the following
Basic
following is two of config method in easiest way
config by .env
file
{TOKEN_NAME_1} = {TOKEN_VALUE_1}
{TOKEN_NAME_2} = {TOKEN_VALUE_2}
config by Environment Variables
$ {TOKEN_NAME_1}={TOKEN_VALUE_1} outliner [command]
Other configuration source
Support the following configuration source (list by Precedence order)
- with flag
-F, --file {FILE_PATH}
- Environment variables
.env
file at ~/.outliner/
.env
file at ~/
.env
file at ./
supported TOKEN_NAME
find in pkg/cloud/{ProviderNmae}/activator.go
var tokenNames = []string{
"SUPPORTED_TOKEN_NAME_1",
"SUPPORTED_TOKEN_NAME_2",
...
}
Development and Build
- install depend package
$ make mod
- build binary
$ make build
- run
$ ./build/outliner_$(go env GOOS)