Update README.md

This commit is contained in:
Alec
2023-06-27 10:56:41 -04:00
committed by GitHub
parent 4035061a81
commit 61275dd3e5

View File

@@ -58,8 +58,11 @@ The entrypoint for the application is `index.js` at the root.
Before starting the Node.js server, you'll need a Redis server running locally on the default port. This is what's used
to store active games and keep any number of Node.js servers in sync. I followed
<a href="https://www.sitepoint.com/using-redis-node-js/">this tutorial</a>, specifically using the installation method that uses
Windows Subsystem for Linux (WSL), since I am on a windows machine. Once I got WSL and Redis installed and was in a linux environment
running in the powershell, I tested out the Redis server by using the Redis CLI
Windows Subsystem for Linux (WSL), since I am on a windows machine. In a powershell, I simply run `wsl` and then `redis-server`, at which point you should see something like the following startup logs.
![image](https://github.com/AlecM33/Werewolf/assets/24642328/206dd89c-6a48-4c49-9bb5-aeac829bc26d)
I tested out the Redis server by using the Redis CLI
(see their <a href="https://redis.io/docs/getting-started/">getting started page</a>).
Once that's done, if you haven't already, install <a href="https://nodejs.org/en/">Node.js.</a> This should include the node package