Spawning
We are going to shift gears and start working on the Redis server.
First, move the client SET
/GET
code from the previous section to an example file. This way, we can run it against our server.
mkdir -p examples
mv src/main.rs examples/hello-redis.rs
Then create a new, empty src/main.rs
and continue.