makefile update

This commit is contained in:
yusing 2024-03-29 01:28:44 +00:00
parent 9b34dc994d
commit 51493c9fdd
2 changed files with 4 additions and 3 deletions

View file

@ -2,10 +2,11 @@
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

View file

@ -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