With a bottle of wine broken on the bow.
More specifically, a bottle of champaign
perhaps this is a better question for the Wikipedia equivalant to this site, as it is not neccisarly a Star Trek question.
However, at the start of Star Trek: Generations you see the Enterprise-B getting hit by a bottle of wine or champaign. Same practice in the 23rd century.