You can try the Sheldon Brown method; I personally got nowhere with it after an hour of fiddling. I'd just loosen all five bolts with the chain off and get it as centered as possible. Most drivetrains won't be perfect (chainline, centered chainring, etc.) so just do the best you can.