Skip to content

Commit

Permalink
add Redis local section
Browse files Browse the repository at this point in the history
  • Loading branch information
maxslug authored Sep 21, 2023
1 parent 2d72857 commit f87766f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,33 @@ cd mwoffliner-1.13.0 # or whatever version you downloaded
npm i
npm run mwoffliner -- --help
```
### Local (non-root) Redis Install

You may wish to install the prerequesit Redis locally in order to run the tool. See https://github.com/redis/redis/tree/unstable and https://redis.io/docs/getting-started/installation/install-redis-from-source/ for more details.

1. Get and unzip Redis Locally

```
wget https://download.redis.io/redis-stable.tar.gz
tar xvfz redis-stable.tar.gz
```

2. Build Redis Locally

```
cd redis-stable/src
make PREFIX=$HOME USE_JEMALLOC=no
```

3. Run Redis Locally

You'll need to do this in a separate window or run it in the background.

```
cd redis-stable/src
./redis-server
```


## API

Expand Down

0 comments on commit f87766f

Please sign in to comment.