Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/alash3al/redix
Browse files Browse the repository at this point in the history
  • Loading branch information
alash3al committed Dec 25, 2018
2 parents e801967 + 42987e7 commit 625b364
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
17 changes: 17 additions & 0 deletions Formula/redix.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class Redix < Formula
desc "a persistent real-time key-value store, with the same redis protocol with powerful features"
homepage "https://alash3al.github.io/redix/"
url "https://github.com/alash3al/redix/releases/download/v1.6/redix_darwin_amd64.zip"
sha256 "2ee32559f97f57e3274d7fcbdf2a580925b5c6e826d241f545c1799ba88d31fc"

def install
# Rename redix_darwin_amd64 To Redix
system "mv", "redix_darwin_amd64", "redix"
# Install the package very important step
bin.install "redix"
end

test do
system "true"
end
end
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ Why
Install
=======
- from source: `go get github.com/alash3al/redix`.
- 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.
- using docker: `docker run -P -v /path/to/redix-data:/root/redix-data alash3al/redix`
- Using Homebrew:
- Add Homebrew Tap `brew tap alash3al/redix https://github.com/alash3al/redix`
- Install Redix `brew install alash3al/redix/redix`
- 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.
- Using Docker: `docker run -P -v /path/to/redix-data:/root/redix-data alash3al/redix`
- From Source: `go get github.com/alash3al/redix`.

Configurations
============
Expand Down

0 comments on commit 625b364

Please sign in to comment.