You could have done that yourself in a couple hours...
Just take a three or four foot level, and a marker. Go down the whole row and mark where you want the outside of each post to match up on the rail.. 90% of your work is done right there. Then it's just mindless. Down the row, bam, bam...