Skip to content

Commit 625b364

Browse files
committed
Merge branch 'master' of https://github.com/alash3al/redix
2 parents e801967 + 42987e7 commit 625b364

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

Formula/redix.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
class Redix < Formula
2+
desc "a persistent real-time key-value store, with the same redis protocol with powerful features"
3+
homepage "https://alash3al.github.io/redix/"
4+
url "https://github.com/alash3al/redix/releases/download/v1.6/redix_darwin_amd64.zip"
5+
sha256 "2ee32559f97f57e3274d7fcbdf2a580925b5c6e826d241f545c1799ba88d31fc"
6+
7+
def install
8+
# Rename redix_darwin_amd64 To Redix
9+
system "mv", "redix_darwin_amd64", "redix"
10+
# Install the package very important step
11+
bin.install "redix"
12+
end
13+
14+
test do
15+
system "true"
16+
end
17+
end

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ Why
1818
1919
Install
2020
=======
21-
- from source: `go get github.com/alash3al/redix`.
22-
- from binaries: go [there](https://github.com/alash3al/redix/releases) and choose your platform based binary, then download and execute from the command line with `-h` flag to see the help text.
23-
- using docker: `docker run -P -v /path/to/redix-data:/root/redix-data alash3al/redix`
21+
- Using Homebrew:
22+
- Add Homebrew Tap `brew tap alash3al/redix https://github.com/alash3al/redix`
23+
- Install Redix `brew install alash3al/redix/redix`
24+
- From Binaries: go [there](https://github.com/alash3al/redix/releases) and choose your platform based binary, then download and execute from the command line with `-h` flag to see the help text.
25+
- Using Docker: `docker run -P -v /path/to/redix-data:/root/redix-data alash3al/redix`
26+
- From Source: `go get github.com/alash3al/redix`.
2427

2528
Configurations
2629
============

0 commit comments

Comments
 (0)