Skip to content

Commit 6d0986a

Browse files
authored
Adding redis to mac (#160)
* mac everywhere, gh bye * need to force redis install on osx...
1 parent 5f9cbbd commit 6d0986a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ It allows writing Redis modules in Rust, without needing to use raw pointers or
99

1010
# Running the example module
1111

12-
1. [Install Rust](https://www.rust-lang.org/tools/install)
12+
1. [Install Rust](https://www.rust-lang.org/tools/install)
1313
2. [Install Redis](https://redis.io/download), most likely using your favorite package manager (Homebrew on Mac, APT or YUM on Linux)
1414
3. Run `cargo build --example hello`
15-
4. Start a redis server with the `hello` module
15+
4. Start a redis server with the `hello` module
1616
* Linux: `redis-server --loadmodule ./target/debug/examples/libhello.so`
17-
* Mac: `redis-server --loadmodule ./target/debug/examples/libhello.dylib`
18-
5. Open a Redis CLI, and run `HELLO.MUL 31 11`.
17+
* Mac: `redis-server --loadmodule ./target/debug/examples/libhello.dylib`
18+
5. Open a Redis CLI, and run `HELLO.MUL 31 11`.
1919

2020
# Writing your own module
2121

sbin/system-setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def fedora(self):
4343
def macos(self):
4444
self.install_gnu_utils()
4545
self.run("%s/bin/getgcc" % READIES)
46+
self.run("%s/bin/getredis -v 6" % READIES)
4647

4748
def common_last(self):
4849
self.pip_install("toml")

0 commit comments

Comments
 (0)