With the changes to the licensing of the 5.1 SRD, this needs to be updated a bit, plus with the update from post #30 that I never made.
Until that happens, here is a pretty decent discussion on how to use the 5.1 SRD with the new CC-BY-4.0 licensing; How to Use Creative Commons — Advanced 5E System Reference Document (a5esrd.com)