Followed flask tut "the hard way"