Skip to content

Commit

Permalink
Add instructions on how to install redis from source.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasas committed May 16, 2023
1 parent fab4fc4 commit eb3f657
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions examples/basic_server/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

# Author: Yasas Senarath

# Initialize environment
# python -m venv venv
# source ./venv/bin/activate
Expand All @@ -11,11 +9,19 @@

which python

wget https://download.redis.io/redis-stable.tar.gz
tar -xzvf redis-stable.tar.gz
rm redis-stable.tar.gz
cd redis-stable
make
# How to install redis from source?
# ---------------------------------

# https://redis.io/docs/getting-started/installation/install-redis-from-source/

# >>
# wget https://download.redis.io/redis-stable.tar.gz
# tar -xzvf redis-stable.tar.gz
# rm redis-stable.tar.gz
# cd redis-stable
# make
# cd ..
# >>

# Clean the existing db
rm database.sqlite config.json
Expand Down

0 comments on commit eb3f657

Please sign in to comment.