First press  to get the console, followed by one of these cheats:

iamrich - 1000 Gold
allthestones - 1000 Stone 
bethestone - 1000 Ore 
tiimmbbeerr - 1000 Wood 
befat - 1000 Food 
kingeddieismyfriend - Invulnerable units
serules - Current mission win