We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 921d008 commit 5282b96Copy full SHA for 5282b96
scripts/install-redis-mac.sh
@@ -0,0 +1,4 @@
1
+#!/bin/bash
2
+
3
+brew install redis
4
+brew services start redis
scripts/post-install.js
@@ -3,18 +3,16 @@ const {exec} = require('child_process')
switch (process.platform) {
5
case 'win32':
6
+ // Windows
7
// TODO: Move the logic for installing on windows here from the bat file
8
exec('call scripts/install-redis-windows.bat')
9
break
10
case 'darwin':
- console.log(
11
- 'Automated install of Redis currently not implemented on Mac OS'
12
- )
+ // Mac
+ exec('sh scripts/install-redis-mac.sh')
13
14
case 'linux':
15
- // https://redis.io/topics/quickstart
16
- // This is the way to install on Linux, apparently...
17
-
+ // ... Linux
18
exec('sh scripts/install-redis-linux.sh')
19
20
}
0 commit comments