Full disclosure, I am not a coffee drinker.
There is a scene in one of the Hornblower books that describes Captain Hornblower telling his illiterate steward how to use the resources available on the warship to roast coffee beans, then use a mortar and pestle to grind them to proper size, and then boil and strain the liquid.