mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 04:52:35 +02:00
makefile update
This commit is contained in:
parent
9b34dc994d
commit
51493c9fdd
2 changed files with 4 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -2,11 +2,12 @@
|
|||
|
||||
all: build quick-restart logs
|
||||
|
||||
init-config:
|
||||
setup:
|
||||
mkdir -p config certs
|
||||
[ -f config/config.yml ] || cp config.example.yml config/config.yml
|
||||
[ -f config/providers.yml ] || touch config/providers.yml
|
||||
|
||||
[ -f compose.yml ] || cp compose.example.yml compose.yml
|
||||
|
||||
build:
|
||||
mkdir -p bin
|
||||
CGO_ENABLED=0 GOOS=linux go build -pgo=auto -o bin/go-proxy src/go-proxy/*.go
|
||||
|
|
|
@ -58,7 +58,7 @@ In the examples domain `x.y.z` is used, replace them with your domain
|
|||
|
||||
1. Download and extract the latest release (or clone the repository)
|
||||
|
||||
2. Call `make init-config` to init config file and provider file
|
||||
2. Call `make setup` to init config file, provider file, and docker compose file
|
||||
|
||||
3. Point your domain (i.e `y.z`) to your machine's IP address
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue