South is best, but panels installed facing east or west still can generate a very high percentage of possible power. It is usually more effective (and more attractive) to install the panels in the same plane as the roof direction, rather than build an awkward mount to angle them.
How much will solar cost you?
Find out. It’s FREE!