beverage dispenser

I want to make a beverage dispenser for still beverages. I plan to use Mini Food Grade Self Priming Diaphragm pumps. The pumps will be 12volts dc current. I want to have a button that when pressed will dispense 5 ounces of liquid then stop. I am hoping this pump will prevent drips from the line once the transfer is complet. I am basically trying to build something simular to this dispersersidebar but I want to use it in my brewery to dispense mead. I like the idea of having a single spout that has the beverage lines inside it. I do have a good mechanical inclination but I don’t know where to start on the automation part. Thanks for any help anyone can provide. Cheers, Jason