Shaft alignment really should be done in the water. I'ts very difficult to ascertain that the boat is sitting true when on the hard. I've seen Cat27s that were severely flexed while sitting on cradle, so I'd really wait til you're afloat.
The process itself is a bit complex as you have adjustments on all mounts (3 or 4 depending on installation) and you have few fixed references on the other end. You are working on several axes at once.
While afloat you can still judge the "midpoint" of the shaft log by lifting the decoupled shaft and find the limits of motion, then block the shaft in the middle of that range. Then adjust the
engine mounts to roughly match. This is followed by measuring the face to face distances at the coupling to get it the same all around. Initially this can be done with a piece of keystock, sliding it between coupling faces and set things up for the same fit (gap) everywhere. Feeler gauges can be used to get it more precise.