You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dawson Whitehead edited this page Jun 2, 2018
·
7 revisions
Using Redis Server
Setup- Repository Updating
In the tries update, we'll be adding the API repo as a submodule to our repo. This means you'll need to run git submodule update --recursive from thte main folder to actually pull the submodule's content. Addtionally, you'll have to go to api, api/lib/redis-tries, api/lib/hiredis, api/lib/redis-tries/hiredis, and api/lib/redis-tries/redisModulesSDK and run git pull origin master to update those.
Finally, whenever you run something that uses the redis server (basically anything that uses our dictionary, which uses tries in the redis server), make another terminal window, navigate to the exact directory that you are going to be running the executable from, and start the redis server with redis-server. You should see some nice little ASCII art and a nice welcome message saying stuff was loaded. You can close the server after you finish running your executable by just killing it with CTRL-C.