I was taught from an early age that the only way to do it propperly is to get two long straight edges (lengths of angle are good) & place them either side of your back tyre (just touching), running either side of your bike, past the front wheel.
A paddock stand is best for this to hold the bike up-right.
Obviously they will be wider than the front, but check for equal gaps either side of the front tyre, check alignment, taking no notice of marks on the swinging arm.
Once you are sure things are in line, nip up, re-check & test drive chain for correct tension.
Only then tighten the rear wheel spindle to manufacturers spec, re-checking chanin tension afterwards.