Update Makefile targets and doc
This commit is contained in:
10
README.md
10
README.md
@@ -8,7 +8,7 @@ A lightweight Go service that acts as a middleware between Slack webhooks and nt
|
||||
- ✅ Forwards alerts to self-hosted ntfy servers
|
||||
- ✅ Bearer token authentication support
|
||||
- ✅ Health check endpoint
|
||||
- ✅ Lightweight Docker container (~8MB)
|
||||
- ✅ Lightweight Docker container (~8.4MB)
|
||||
- ✅ High performance and low resource usage
|
||||
|
||||
## Quick Start
|
||||
@@ -59,18 +59,18 @@ A lightweight Go service that acts as a middleware between Slack webhooks and nt
|
||||
|
||||
### Build locally
|
||||
```bash
|
||||
go build -o middleware main.go
|
||||
./middleware
|
||||
make build
|
||||
make run
|
||||
```
|
||||
|
||||
### Build Docker image
|
||||
```bash
|
||||
docker build -t slack-to-ntfy .
|
||||
make docker-build
|
||||
```
|
||||
|
||||
### Run tests
|
||||
```bash
|
||||
go test ./...
|
||||
make test
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user