File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# sql-http-proxy
22
3- [ ![ CI ] ( https://github.com/mpyw/sql-http-proxy/actions/workflows/ci .yml/badge.svg )] ( https://github.com/mpyw/sql-http-proxy/actions/workflows/ci .yml )
3+ [ ![ Test ] ( https://github.com/mpyw/sql-http-proxy/actions/workflows/test .yml/badge.svg )] ( https://github.com/mpyw/sql-http-proxy/actions/workflows/test .yml )
44[ ![ codecov] ( https://codecov.io/gh/mpyw/sql-http-proxy/graph/badge.svg )] ( https://codecov.io/gh/mpyw/sql-http-proxy )
55[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/mpyw/sql-http-proxy )] ( https://goreportcard.com/report/github.com/mpyw/sql-http-proxy )
66[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
@@ -12,11 +12,46 @@ A YAML-driven HTTP server that maps endpoints to SQL queries. Define your API in
1212
1313# Installation
1414
15+ ## Homebrew (macOS / Linux)
16+
17+ ``` bash
18+ brew install mpyw/tap/sql-http-proxy
19+ ```
20+
21+ ## Scoop (Windows)
22+
23+ ``` powershell
24+ scoop bucket add mpyw https://github.com/mpyw/scoop-bucket
25+ scoop install sql-http-proxy
26+ ```
27+
28+ ## Debian / Ubuntu
29+
30+ ``` bash
31+ # Download the latest .deb package from GitHub Releases
32+ curl -LO https://github.com/mpyw/sql-http-proxy/releases/latest/download/sql-http-proxy_VERSION-1_amd64.deb
33+ sudo dpkg -i sql-http-proxy_VERSION-1_amd64.deb
34+ ```
35+
36+ ## RHEL / Fedora
37+
38+ ``` bash
39+ # Download the latest .rpm package from GitHub Releases
40+ curl -LO https://github.com/mpyw/sql-http-proxy/releases/latest/download/sql-http-proxy-VERSION-1.x86_64.rpm
41+ sudo rpm -i sql-http-proxy-VERSION-1.x86_64.rpm
42+ ```
43+
44+ ## Binary Download
45+
46+ Download pre-built binaries from [ GitHub Releases] ( https://github.com/mpyw/sql-http-proxy/releases ) .
47+
48+ ## Go Install
49+
1550``` bash
1651go install github.com/mpyw/sql-http-proxy/cmd/sql-http-proxy@latest
1752```
1853
19- ## Build Tags
54+ ### Build Tags
2055
2156Use build tags for smaller binaries:
2257
You can’t perform that action at this time.
0 commit comments