The halfling campaign is the tutorial, and the game has some excellent tooltips, but if you need more info the manual is
here.
Some city structures (e.g. temples) increase happiness, and in most cases that's enough to prevent riots, altough sometimes you'll need to leave some troops behind (wich should be there for defense purposes anyway, leaving a city unguarded is one of the worst ideas you can have in this game).
Generally speaking, in a normal playthrough you'll rarely have to worry about morale - unless your wizard has the "Anarchist" trait, or you're trying to deal with pure good and pure evil races. If you do, consider researching the "Peace Keeper" trait (20+ rep with all races) but note that it's mutually exclusive with "Conqueror" (+50% exp gained in combat).