Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
getting VIP list to show on index page #34
On pg. 45 after entering the erlang shell with erl -pa ebin and reading the record via rr(visitors_db). I had to do a 2>cd(".."). in order to get the visitors file to be in the root directory. When I did not cd directory in erlang all the commands work in the shell but the visitors file is placed in the /site directory. When I then add the get_visitors/1 function to visitors_db.erl it creates a new empty visitors file in the root which causes no names to show up in the VIP list.