How to compute the alpha-invariant of Tian