-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a7ef111
commit 8b6da11
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,18 +35,25 @@ transferred from one process to another. | |
curl -OL https://github.com/UsamaHameed/tiny-redis/releases/latest/download/tiny-redis | ||
``` | ||
|
||
run the server with: | ||
```bash | ||
./tiny-redis | ||
``` | ||
|
||
## build from source | ||
```bash | ||
git clone [email protected]:UsamaHameed/tiny-redis.git | ||
go build | ||
``` | ||
|
||
run the server with: | ||
```bash | ||
./tiny-redis | ||
``` | ||
|
||
# How to test | ||
|
||
```bash | ||
# start the server | ||
go run main.go | ||
|
||
# connect to redis via tcp and then try sending any of the resp strings | ||
nc localhost 6379 | ||
# resp strings to try | ||
|