Installing Redis
First things first. Let's install the Redis DB on your machine and provision it in the Heroku environment.
The first step is to set up a Redis instance. You can provision it in your Heroku account. If you are working with this course offline, you might want to install Redis on your machine.
Localhost#
If you're using a Windows machine, use Windows Subsystem for Linux (WSL) and a package manager to install Redis:
1
sudo apt-get update
2
sudo apt-get upgrade
3
sudo apt-get install redis-server
4
redis-cli -v
On macOS, you can use the Homebrew package manager:
1
brew install redis
This page is a preview of The newline Guide to Angular Universal