Practical Redis
  • About
  • Get, set, go...
  • Hello World
  • Redis: the basic data structures
  • Tweet analysis service
  • Extending Redis with Redis Modules
Powered by GitBook
On this page

Was this helpful?

Get, set, go...

PreviousAboutNextHello World

Last updated 5 years ago

Was this helpful?

The source code for the book is available on

You only need Docker and Docker Compose installed in order to run the applications in this book

if the above doesn't meet your requirements, check

For all practical purposes you will want to look and play around with the code, build it and maybe try and run it yourself (inside or outside of Docker). In order to do this, you only need . Once that's done, you can check the Dockerfile to see how to build the app yourself. Example

  • go into the directory of the chapter/application e.g. cd my-app

  • fetch dependencies specific to the app e.g. go get -u github.com/go-redis/redis && go get -u github.com/gin-gonic/gin

  • set GOPATH e.g. export GOPATH=$GOPATH:~/practical-redis/my-app/

  • execute go run src/main.go to run

Github
Docker installation
Docker Toolbox
Docker Compose installation
latest version of Go