The Council of Vila Boa has installed a set of highly visible yellow signs that guide you through town.
After rounding the church, keep on the road to the first side street and turn right. At the next fork (identifiable for the wash basin and cruceiro) keep to your left. One more right-hand turn and you are heading straight for the railway.
At the tracks, the arrows turn left, but that is a not strictly necessary detour to an underpass. You are in the countryside now until Lijó. Turn left at the first fork and into town.